#2A5A0E#2A5A0E
#2A5A0E is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.116 H 136.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5A0E |
|---|---|
| RGB | rgb(42, 90, 14) |
| HSL | hsl(98, 73%, 20%) |
| HSV | hsv(98, 84%, 35%) |
| CMYK | cmyk(53.3%, 0%, 84.4%, 64.7%) |
| CIE-LAB | lab(33.64, -30.57, 35.79) |
| CIE-LCH | lch(33.64, 47.06, 130.50°) |
| OKLab | oklab(41.78% -0.0849 0.0795) |
| OKLCH | oklch(41.78% 0.116 136.9) |
| XYZ | xyz(4.6901, 7.8359, 1.6807) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest
#0B5509
ΔE00 3.63
Navy Green
#35530A
ΔE00 3.79
Deep Green
#02590F
ΔE00 4.05
Forest Green
#2D5A27
ΔE00 4.66
Darkgreen
#006400
ΔE00 5.06
Bottle Green
#044A05
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5A0E #3E0E5A
analogous
#505A0E #2A5A0E #0E5A18
triadic
#2A5A0E #0E2A5A #5A0E2A
tetradic
#2A5A0E #0E505A #3E0E5A #5A180E
square
#2A5A0E #0E505A #3E0E5A #5A180E
split-complementary
#2A5A0E #180E5A #5A0E50
monochromatic
#0C1A04 #112506 #2A5A0E #438F16 #5BC41E
Accessibility & contrast
On white
8.18
#2A5A0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2A5A0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5A0E
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5A0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5A0E | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5200
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#27564C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a5a0e; /* rgb */ color: rgb(42, 90, 14); /* oklch */ color: oklch(41.8% 0.116 136.9);
Tailwind
colors: {
custom: {
50: '#698954',
500: '#2a5a0e',
950: '#000000',
},
}SCSS
$custom: #2a5a0e; $custom-light: #698954; $custom-dark: #000000;
JSON
{
"hex": "#2a5a0e",
"rgb": {
"r": 42,
"g": 90,
"b": 14
},
"hsl": {
"h": 97.895,
"s": 73.077,
"l": 20.392
},
"oklch": {
"l": 0.41777,
"c": 0.11633,
"h": 136.9
},
"luminance": 0.07836
}Semantic roles & 50–950 ramp
primary
#2A5A0E
secondary
#6F3094
accent
#38F0AC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78