#2A5E1B#2A5E1B
#2A5E1B is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.113 H 139.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5E1B |
|---|---|
| RGB | rgb(42, 94, 27) |
| HSL | hsl(107, 55%, 24%) |
| HSV | hsv(107, 71%, 37%) |
| CMYK | cmyk(55.3%, 0%, 71.3%, 63.1%) |
| CIE-LAB | lab(35.16, -31.23, 31.96) |
| CIE-LCH | lch(35.16, 44.69, 134.34°) |
| OKLab | oklab(43.06% -0.0858 0.0735) |
| OKLCH | oklch(43.06% 0.113 139.4) |
| XYZ | xyz(5.1552, 8.5764, 2.4205) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.33
Deep Green
#02590F
ΔE00 3.72
Forest
#0B5509
ΔE00 4.02
Darkgreen
#006400
ΔE00 4.78
Navy Green
#35530A
ΔE00 5.46
Pine
#2B5D34
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5E1B #4F1B5E
analogous
#4B5E1B #2A5E1B #1B5E2D
triadic
#2A5E1B #1B2A5E #5E1B2A
tetradic
#2A5E1B #1B4B5E #4F1B5E #5E2D1B
square
#2A5E1B #1B4B5E #4F1B5E #5E2D1B
split-complementary
#2A5E1B #2D1B5E #5E1B4B
monochromatic
#0B1807 #152E0D #2A5E1B #3F8E29 #54BD36
Accessibility & contrast
On white
7.73
#2A5E1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2A5E1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5E1B
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5E1B | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615512
Deuteranopia (green-blind)
#5A5121
Tritanopia (blue-blind)
#255B50
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a5e1b; /* rgb */ color: rgb(42, 94, 27); /* oklch */ color: oklch(43.1% 0.113 139.4);
Tailwind
colors: {
custom: {
50: '#698c5b',
500: '#2a5e1b',
950: '#000000',
},
}SCSS
$custom: #2a5e1b; $custom-light: #698c5b; $custom-dark: #000000;
JSON
{
"hex": "#2a5e1b",
"rgb": {
"r": 42,
"g": 94,
"b": 27
},
"hsl": {
"h": 106.567,
"s": 55.372,
"l": 23.725
},
"oklch": {
"l": 0.43057,
"c": 0.11297,
"h": 139.4
},
"luminance": 0.08577
}Semantic roles & 50–950 ramp
primary
#2A5E1B
secondary
#814194
accent
#49DFBD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79