#2A5F0E#2A5F0E
#2A5F0E is a dark, vivid yellow-green. Relative luminance 0.087; OKLCH L 43.2% C 0.123 H 137.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F0E |
|---|---|
| RGB | rgb(42, 95, 14) |
| HSL | hsl(99, 74%, 21%) |
| HSV | hsv(99, 85%, 37%) |
| CMYK | cmyk(55.8%, 0%, 85.3%, 62.7%) |
| CIE-LAB | lab(35.42, -32.71, 37.45) |
| CIE-LCH | lch(35.42, 49.73, 131.13°) |
| OKLab | oklab(43.24% -0.0907 0.083) |
| OKLCH | oklch(43.24% 0.123 137.6) |
| XYZ | xyz(5.1261, 8.7080, 1.8261) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.83
Deep Green
#02590F
ΔE00 4.31
Forest
#0B5509
ΔE00 4.41
Navy Green
#35530A
ΔE00 5.12
Forest Green
#2D5A27
ΔE00 5.34
Camouflage Green
#4B6113
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F0E #430E5F
analogous
#535F0E #2A5F0E #0E5F1B
triadic
#2A5F0E #0E2A5F #5F0E2A
tetradic
#2A5F0E #0E535F #430E5F #5F1B0E
square
#2A5F0E #0E535F #430E5F #5F1B0E
split-complementary
#2A5F0E #1B0E5F #5F0E53
monochromatic
#0C1B04 #122A06 #2A5F0E #429416 #59CA1E
Accessibility & contrast
On white
7.66
#2A5F0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2A5F0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5F0E
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F0E | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#265B50
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a5f0e; /* rgb */ color: rgb(42, 95, 14); /* oklch */ color: oklch(43.2% 0.123 137.6);
Tailwind
colors: {
custom: {
50: '#6a8d55',
500: '#2a5f0e',
950: '#000000',
},
}SCSS
$custom: #2a5f0e; $custom-light: #6a8d55; $custom-dark: #000000;
JSON
{
"hex": "#2a5f0e",
"rgb": {
"r": 42,
"g": 95,
"b": 14
},
"hsl": {
"h": 99.259,
"s": 74.312,
"l": 21.373
},
"oklch": {
"l": 0.43241,
"c": 0.12293,
"h": 137.6
},
"luminance": 0.08708
}Semantic roles & 50–950 ramp
primary
#2A5F0E
secondary
#753099
accent
#37F1B1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78