#2A541D#2A541D
#2A541D is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.2% C 0.096 H 139.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A541D |
|---|---|
| RGB | rgb(42, 84, 29) |
| HSL | hsl(106, 49%, 22%) |
| HSV | hsv(106, 65%, 33%) |
| CMYK | cmyk(50%, 0%, 65.5%, 67.1%) |
| CIE-LAB | lab(31.63, -26.48, 27.08) |
| CIE-LCH | lch(31.63, 37.88, 134.36°) |
| OKLab | oklab(40.17% -0.0728 0.0633) |
| OKLCH | oklch(40.17% 0.096 139) |
| XYZ | xyz(4.3468, 6.9213, 2.2691) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.34
Forest
#0B5509
ΔE00 4.32
Navy Green
#35530A
ΔE00 4.74
Deep Green
#02590F
ΔE00 4.88
Bottle Green
#044A05
ΔE00 5.06
Darkgreen (survey)
#054907
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A541D #471D54
analogous
#46541D #2A541D #1D542B
triadic
#2A541D #1D2A54 #541D2A
tetradic
#2A541D #1D4654 #471D54 #542B1D
square
#2A541D #1D4654 #471D54 #542B1D
split-complementary
#2A541D #2B1D54 #541D46
monochromatic
#0B1708 #13270D #2A541D #41812D #57AF3C
Accessibility & contrast
On white
8.81
#2A541D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2A541D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A541D
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A541D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A541D | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574D17
Deuteranopia (green-blind)
#514921
Tritanopia (blue-blind)
#275148
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a541d; /* rgb */ color: rgb(42, 84, 29); /* oklch */ color: oklch(40.2% 0.096 139.0);
Tailwind
colors: {
custom: {
50: '#67845b',
500: '#2a541d',
950: '#000000',
},
}SCSS
$custom: #2a541d; $custom-light: #67845b; $custom-dark: #000000;
JSON
{
"hex": "#2a541d",
"rgb": {
"r": 42,
"g": 84,
"b": 29
},
"hsl": {
"h": 105.818,
"s": 48.673,
"l": 22.157
},
"oklch": {
"l": 0.40165,
"c": 0.09648,
"h": 139
},
"luminance": 0.06922
}Semantic roles & 50–950 ramp
primary
#2A541D
secondary
#794489
accent
#50D8B8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79