#2A5819#2A5819
#2A5819 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.3% C 0.106 H 138.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5819 |
|---|---|
| RGB | rgb(42, 88, 25) |
| HSL | hsl(104, 56%, 22%) |
| HSV | hsv(104, 72%, 35%) |
| CMYK | cmyk(52.3%, 0%, 71.6%, 65.5%) |
| CIE-LAB | lab(33.01, -28.77, 30.60) |
| CIE-LCH | lch(33.01, 42.00, 133.24°) |
| OKLab | oklab(41.29% -0.0793 0.0703) |
| OKLCH | oklch(41.29% 0.106 138.4) |
| XYZ | xyz(4.6199, 7.5416, 2.1317) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.75
Forest
#0B5509
ΔE00 3.51
Deep Green
#02590F
ΔE00 3.90
Navy Green
#35530A
ΔE00 4.26
Bottle Green
#044A05
ΔE00 5.45
Darkgreen (survey)
#054907
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5819 #471958
analogous
#495819 #2A5819 #195828
triadic
#2A5819 #192A58 #58192A
tetradic
#2A5819 #194958 #471958 #582819
square
#2A5819 #194958 #471958 #582819
split-complementary
#2A5819 #281958 #581949
monochromatic
#0B1807 #13280B #2A5819 #418827 #57B734
Accessibility & contrast
On white
8.37
#2A5819 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2A5819 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5819
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5819 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5819 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5011
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#27554B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a5819; /* rgb */ color: rgb(42, 88, 25); /* oklch */ color: oklch(41.3% 0.106 138.4);
Tailwind
colors: {
custom: {
50: '#688759',
500: '#2a5819',
950: '#000000',
},
}SCSS
$custom: #2a5819; $custom-light: #688759; $custom-dark: #000000;
JSON
{
"hex": "#2a5819",
"rgb": {
"r": 42,
"g": 88,
"b": 25
},
"hsl": {
"h": 103.81,
"s": 55.752,
"l": 22.157
},
"oklch": {
"l": 0.41286,
"c": 0.10598,
"h": 138.4
},
"luminance": 0.07542
}Semantic roles & 50–950 ramp
primary
#2A5819
secondary
#793E8E
accent
#49DFB6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79