#2A590F#2A590F
#2A590F is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.5% C 0.114 H 136.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A590F |
|---|---|
| RGB | rgb(42, 89, 15) |
| HSL | hsl(98, 71%, 20%) |
| HSV | hsv(98, 83%, 35%) |
| CMYK | cmyk(52.8%, 0%, 83.1%, 65.1%) |
| CIE-LAB | lab(33.29, -30.06, 35.10) |
| CIE-LCH | lch(33.29, 46.21, 130.58°) |
| OKLab | oklab(41.49% -0.0835 0.0782) |
| OKLCH | oklch(41.49% 0.114 136.9) |
| XYZ | xyz(4.6133, 7.6712, 1.6894) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest
#0B5509
ΔE00 3.52
Navy Green
#35530A
ΔE00 3.60
Deep Green
#02590F
ΔE00 4.03
Forest Green
#2D5A27
ΔE00 4.45
Darkgreen
#006400
ΔE00 5.37
Bottle Green
#044A05
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A590F #3E0F59
analogous
#4F590F #2A590F #0F5919
triadic
#2A590F #0F2A59 #590F2A
tetradic
#2A590F #0F4F59 #3E0F59 #59190F
square
#2A590F #0F4F59 #3E0F59 #59190F
split-complementary
#2A590F #190F59 #590F4F
monochromatic
#0C1A04 #112506 #2A590F #438D18 #5BC221
Accessibility & contrast
On white
8.29
#2A590F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2A590F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A590F
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A590F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A590F | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5100
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#27554B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a590f; /* rgb */ color: rgb(42, 89, 15); /* oklch */ color: oklch(41.5% 0.114 136.9);
Tailwind
colors: {
custom: {
50: '#698854',
500: '#2a590f',
950: '#000000',
},
}SCSS
$custom: #2a590f; $custom-light: #698854; $custom-dark: #000000;
JSON
{
"hex": "#2a590f",
"rgb": {
"r": 42,
"g": 89,
"b": 15
},
"hsl": {
"h": 98.108,
"s": 71.154,
"l": 20.392
},
"oklch": {
"l": 0.41491,
"c": 0.11442,
"h": 136.9
},
"luminance": 0.07671
}Semantic roles & 50–950 ramp
primary
#2A590F
secondary
#6F3193
accent
#3AEEAC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78