#2A581A#2A581A
#2A581A is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.3% C 0.105 H 138.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2A581A |
|---|---|
| RGB | rgb(42, 88, 26) |
| HSL | hsl(105, 54%, 22%) |
| HSV | hsv(105, 70%, 35%) |
| CMYK | cmyk(52.3%, 0%, 70.5%, 65.5%) |
| CIE-LAB | lab(33.02, -28.67, 30.13) |
| CIE-LCH | lch(33.02, 41.59, 133.58°) |
| OKLab | oklab(41.3% -0.079 0.0695) |
| OKLCH | oklch(41.3% 0.105 138.7) |
| XYZ | xyz(4.6309, 7.5459, 2.1896) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.56
Forest
#0B5509
ΔE00 3.57
Deep Green
#02590F
ΔE00 3.92
Navy Green
#35530A
ΔE00 4.39
Bottle Green
#044A05
ΔE00 5.46
Darkgreen (survey)
#054907
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A581A #481A58
analogous
#49581A #2A581A #1A5829
triadic
#2A581A #1A2A58 #581A2A
tetradic
#2A581A #1A4958 #481A58 #58291A
square
#2A581A #1A4958 #481A58 #58291A
split-complementary
#2A581A #291A58 #581A49
monochromatic
#0B1807 #13290C #2A581A #418728 #57B636
Accessibility & contrast
On white
8.37
#2A581A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2A581A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A581A
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A581A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A581A | 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)
#5B5012
Deuteranopia (green-blind)
#554C1F
Tritanopia (blue-blind)
#26554B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a581a; /* rgb */ color: rgb(42, 88, 26); /* oklch */ color: oklch(41.3% 0.105 138.7);
Tailwind
colors: {
custom: {
50: '#68875a',
500: '#2a581a',
950: '#000000',
},
}SCSS
$custom: #2a581a; $custom-light: #68875a; $custom-dark: #000000;
JSON
{
"hex": "#2a581a",
"rgb": {
"r": 42,
"g": 88,
"b": 26
},
"hsl": {
"h": 104.516,
"s": 54.386,
"l": 22.353
},
"oklch": {
"l": 0.41297,
"c": 0.10516,
"h": 138.7
},
"luminance": 0.07546
}Semantic roles & 50–950 ramp
primary
#2A581A
secondary
#7A408E
accent
#4ADEB8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79