#2E541F#2E541F
#2E541F is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.4% C 0.092 H 137.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2E541F |
|---|---|
| RGB | rgb(46, 84, 31) |
| HSL | hsl(103, 46%, 23%) |
| HSV | hsv(103, 63%, 33%) |
| CMYK | cmyk(45.2%, 0%, 63.1%, 67.1%) |
| CIE-LAB | lab(31.85, -24.79, 26.34) |
| CIE-LCH | lch(31.85, 36.17, 133.27°) |
| OKLab | oklab(40.41% -0.0683 0.0619) |
| OKLCH | oklch(40.41% 0.092 137.8) |
| XYZ | xyz(4.5442, 7.0202, 2.4116) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.38
Navy Green
#35530A
ΔE00 4.57
Forest
#0B5509
ΔE00 5.06
Pine
#2B5D34
ΔE00 5.22
Deep Green
#02590F
ΔE00 5.61
Darkgreen (survey)
#054907
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E541F #451F54
analogous
#48541F #2E541F #1F542B
triadic
#2E541F #1F2E54 #541F2E
tetradic
#2E541F #1F4854 #451F54 #542B1F
square
#2E541F #1F4854 #451F54 #542B1F
split-complementary
#2E541F #2B1F54 #541F48
monochromatic
#0C1608 #16270F #2E541F #46812F #5FAD40
Accessibility & contrast
On white
8.74
#2E541F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2E541F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E541F
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E541F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E541F | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574D1A
Deuteranopia (green-blind)
#514A23
Tritanopia (blue-blind)
#2C5148
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2e541f; /* rgb */ color: rgb(46, 84, 31); /* oklch */ color: oklch(40.4% 0.092 137.8);
Tailwind
colors: {
custom: {
50: '#6a845d',
500: '#2e541f',
950: '#000000',
},
}SCSS
$custom: #2e541f; $custom-light: #6a845d; $custom-dark: #000000;
JSON
{
"hex": "#2e541f",
"rgb": {
"r": 46,
"g": 84,
"b": 31
},
"hsl": {
"h": 103.019,
"s": 46.087,
"l": 22.549
},
"oklch": {
"l": 0.40413,
"c": 0.09218,
"h": 137.8
},
"luminance": 0.0702
}Semantic roles & 50–950 ramp
primary
#2E541F
secondary
#764689
accent
#52D6B0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79