RAL Classic color

RAL 6010 Grass green #4C9141

RAL 6010 Grass green is shown here as #4C9141, a widely published sRGB approximation of the printed swatch. It is a soft green in the green family. In OKLCH it sits at lightness 0.592, chroma 0.134 and hue 141.0°. The nearest CSS named color is forestgreen (#228B22), ΔE2000 5.4 away.

Relative luminance
0.2217
OKLCH L · C · h
0.592 · 0.134 · 141.0
Best text
Black 5.43:1
Hue family
Green

#4C9141 color codes

HEX
#4C9141
RGB
rgb(76, 145, 65)
HSL
hsl(112, 38%, 41%)
OKLCH
oklch(0.592 0.134 141.0)
OKLab
oklab(0.592 -0.104 0.084)
CIELAB (D65)
L* 54.20, a* -38.18, b* 35.44
XYZ (D65)
X 14.06, Y 22.17, Z 8.54
CMYK (naive)
cmyk(48%, 0%, 55%, 43%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #4C9141 accessible?

Black text on it reaches 5.43:1, passing AA. White text manages only 3.86:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    5.43:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +38
  • White text on it

    3.86:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −71
  • As text on black

    5.43:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −35
  • As text on white

    3.86:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +65

Nearest versions that pass 4.5:1

  • For text on white

    #408535 4.54:1

    Darkening its OKLCH lightness from 0.59 to 0.55 reaches 4.54:1 on white, keeping the hue.

  • For text on black

    #4C9141 5.43:1

    It already reaches 5.43:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #4C9141 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #4C9141

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #4C9141 sits at step 500.

  1. 50#E2FFDD
    White
    1.07
    Black
    19.58
  2. 100#C2FEB8
    White
    1.15
    Black
    18.16
  3. 200#ACEBA1
    White
    1.38
    Black
    15.15
  4. 300#8FD284
    White
    1.79
    Black
    11.71
  5. 400#71B666
    White
    2.44
    Black
    8.58
  6. 500This color#4C9141
    White
    3.86
    Black
    5.43
  7. 600#3D8132
    White
    4.78
    Black
    4.38
  8. 700#26691A
    White
    6.73
    Black
    3.11
  9. 800#0C4E00
    White
    9.97
    Black
    2.10
  10. 900#053300
    White
    14.18
    Black
    1.47
  11. 950#021D00
    White
    17.82
    Black
    1.17

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #4C9141 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.195; #4C9141 uses 69% of it. Display P3, which many recent phones and laptops show, reaches 0.229 there: 18% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.134
sRGB edge
0.195
Display P3 edge
0.229
Rec. 2020 edge
0.239
Dominant wavelength
552 nm
Excitation purity
47%
Chromaticity
x 0.3141, y 0.4952
  • This color#4C9141
  • Most vivid in sRGB#229800
  • Most vivid in Display P3oklch(0.592 0.229 141.0)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #4c9141;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.237 0.5993 0); }
}

Mixing

Mixing #4C9141

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#A6C8A0
  • OKLab50%#A5C89F
  • OKLCH50%#A5C89F

Black #000000

  • sRGB50%#264921
  • OKLab50%#183513
  • OKLCH50%#183513

Its complement #A160AE

  • sRGB50%#777978
  • OKLab50%#7E7E7E
  • OKLCH50%#0089B7
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #4c9141, white);
color: color-mix(in oklch, #4c9141 50%, white);

In use

#4C9141 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:15.43:1 Passes
  • Link and body-size textText, 4.5:13.86:1 Fails
  • Large headingLarge text, 3:13.86:1 Passes
  • Icons, borders and focus ringsNon-text, 3:13.86:1 Passes

For text on this page, the nearest shade that passes is #408535 4.54:1

Dark page

  • Button labelText, 4.5:15.43:1 Passes
  • Link and body-size textText, 4.5:14.84:1 Passes
  • Large headingLarge text, 3:14.84:1 Passes
  • Icons, borders and focus ringsNon-text, 3:14.84:1 Passes

Color vision

How #4C9141 looks with color blindness

Achromatopsia changes it most, ΔE2000 24.7; tritanopia changes it least, 17.6.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #94853A ΔE2000 19.7

    Distinct

    Reads as muted amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #8B7F47 ΔE2000 18.8

    Distinct

    Reads as muted amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #458D7F ΔE2000 17.6

    Distinct

    Reads as muted cyan

  • Achromatopsia

    No cone color vision; lightness only

    #828282 ΔE2000 24.7

    Distinct

    Reads as gray

Pairing check

Checked against its complement, #A160AE. Their lightness contrast is only 1.13:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#4C9141 · #A160AE68.1Stays distinct
Protanopia#94853A · #5574B146.6Stays distinct
Deuteranopia#8B7F47 · #677BAC39.9Stays distinct
Tritanopia#458D7F · #A26A7F43.2Stays distinct
Achromatopsia#828282 · #7979793.5Easily confused

Harmony

Color harmonies for #4C9141

Its complement is #A160AE, a soft magenta.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#4C9141
  • Complement#A160AE

Complementary

Open in Harmony Studio
  • −30°#828400
  • Base#4C9141
  • +30°#009475
  • Base#4C9141
  • +120°#4E7CCD
  • +240°#C1595A
  • Base#4C9141
  • +150°#7F6DC7
  • +210°#B85888

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-6010: #4c9141;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-6010': '#4c9141',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-6010: oklch(0.592 0.134 141.0);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-6010": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.298, 0.5686, 0.2549],
        "hex": "#4c9141"
      },
      "$description": "RAL 6010 Grass green (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral6010 = Color(.sRGB, red: 0.298, green: 0.569, blue: 0.255, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral6010 = Color(0xFF4C9141)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #4C9141 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.