#2A541B#2A541B
#2A541B is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.1% C 0.098 H 138.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A541B |
|---|---|
| RGB | rgb(42, 84, 27) |
| HSL | hsl(104, 51%, 22%) |
| HSV | hsv(104, 68%, 33%) |
| CMYK | cmyk(50%, 0%, 67.9%, 67.1%) |
| CIE-LAB | lab(31.61, -26.72, 28.08) |
| CIE-LCH | lch(31.61, 38.76, 133.58°) |
| OKLab | oklab(40.14% -0.0736 0.0652) |
| OKLCH | oklch(40.14% 0.098 138.4) |
| XYZ | xyz(4.3228, 6.9117, 2.1430) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.61
Forest
#0B5509
ΔE00 4.10
Navy Green
#35530A
ΔE00 4.37
Deep Green
#02590F
ΔE00 4.73
Bottle Green
#044A05
ΔE00 4.94
Darkgreen (survey)
#054907
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A541B #451B54
analogous
#47541B #2A541B #1B5429
triadic
#2A541B #1B2A54 #541B2A
tetradic
#2A541B #1B4754 #451B54 #54291B
square
#2A541B #1B4754 #451B54 #54291B
split-complementary
#2A541B #291B54 #541B47
monochromatic
#0C1707 #13260C #2A541B #41822A #58B139
Accessibility & contrast
On white
8.81
#2A541B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2A541B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A541B
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A541B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A541B | 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)
#574D14
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#275148
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a541b; /* rgb */ color: rgb(42, 84, 27); /* oklch */ color: oklch(40.1% 0.098 138.4);
Tailwind
colors: {
custom: {
50: '#68845a',
500: '#2a541b',
950: '#000000',
},
}SCSS
$custom: #2a541b; $custom-light: #68845a; $custom-dark: #000000;
JSON
{
"hex": "#2a541b",
"rgb": {
"r": 42,
"g": 84,
"b": 27
},
"hsl": {
"h": 104.211,
"s": 51.351,
"l": 21.765
},
"oklch": {
"l": 0.4014,
"c": 0.09833,
"h": 138.4
},
"luminance": 0.06912
}Semantic roles & 50–950 ramp
primary
#2A541B
secondary
#77418A
accent
#4DDBB5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79