#2A541C#2A541C
#2A541C is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.2% C 0.097 H 138.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A541C |
|---|---|
| RGB | rgb(42, 84, 28) |
| HSL | hsl(105, 50%, 22%) |
| HSV | hsv(105, 67%, 33%) |
| CMYK | cmyk(50%, 0%, 66.7%, 67.1%) |
| CIE-LAB | lab(31.62, -26.60, 27.58) |
| CIE-LCH | lch(31.62, 38.32, 133.97°) |
| OKLab | oklab(40.15% -0.0732 0.0643) |
| OKLCH | oklch(40.15% 0.097 138.7) |
| XYZ | xyz(4.3346, 6.9164, 2.2050) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.47
Forest
#0B5509
ΔE00 4.20
Navy Green
#35530A
ΔE00 4.55
Deep Green
#02590F
ΔE00 4.80
Bottle Green
#044A05
ΔE00 4.99
Darkgreen (survey)
#054907
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A541C #461C54
analogous
#46541C #2A541C #1C542A
triadic
#2A541C #1C2A54 #541C2A
tetradic
#2A541C #1C4654 #461C54 #542A1C
square
#2A541C #1C4654 #461C54 #542A1C
split-complementary
#2A541C #2A1C54 #541C46
monochromatic
#0B1708 #13260D #2A541C #41822B #58B03B
Accessibility & contrast
On white
8.81
#2A541C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2A541C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A541C
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A541C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A541C | 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)
#574D16
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#275148
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a541c; /* rgb */ color: rgb(42, 84, 28); /* oklch */ color: oklch(40.2% 0.097 138.7);
Tailwind
colors: {
custom: {
50: '#68845b',
500: '#2a541c',
950: '#000000',
},
}SCSS
$custom: #2a541c; $custom-light: #68845b; $custom-dark: #000000;
JSON
{
"hex": "#2a541c",
"rgb": {
"r": 42,
"g": 84,
"b": 28
},
"hsl": {
"h": 105,
"s": 50,
"l": 21.961
},
"oklch": {
"l": 0.40153,
"c": 0.09742,
"h": 138.7
},
"luminance": 0.06917
}Semantic roles & 50–950 ramp
primary
#2A541C
secondary
#78428A
accent
#4EDAB7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79