#2A5F0D#2A5F0D
#2A5F0D is a dark, vivid yellow-green. Relative luminance 0.087; OKLCH L 43.2% C 0.123 H 137.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5F0D |
|---|---|
| RGB | rgb(42, 95, 13) |
| HSL | hsl(99, 76%, 21%) |
| HSV | hsv(99, 86%, 37%) |
| CMYK | cmyk(55.8%, 0%, 86.3%, 62.7%) |
| CIE-LAB | lab(35.41, -32.77, 37.77) |
| CIE-LCH | lch(35.41, 50.01, 130.94°) |
| OKLab | oklab(43.24% -0.0909 0.0835) |
| OKLCH | oklch(43.24% 0.123 137.4) |
| XYZ | xyz(5.1195, 8.7053, 1.7912) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.81
Deep Green
#02590F
ΔE00 4.37
Forest
#0B5509
ΔE00 4.45
Navy Green
#35530A
ΔE00 5.11
Forest Green
#2D5A27
ΔE00 5.46
Camouflage Green
#4B6113
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5F0D #420D5F
analogous
#535F0D #2A5F0D #0D5F19
triadic
#2A5F0D #0D2A5F #5F0D2A
tetradic
#2A5F0D #0D535F #420D5F #5F190D
square
#2A5F0D #0D535F #420D5F #5F190D
split-complementary
#2A5F0D #190D5F #5F0D53
monochromatic
#0C1B04 #122906 #2A5F0D #429514 #5ACB1C
Accessibility & contrast
On white
7.66
#2A5F0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2A5F0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5F0D
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5F0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5F0D | 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)
#5C5217
Tritanopia (blue-blind)
#265B50
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a5f0d; /* rgb */ color: rgb(42, 95, 13); /* oklch */ color: oklch(43.2% 0.123 137.4);
Tailwind
colors: {
custom: {
50: '#6a8d54',
500: '#2a5f0d',
950: '#000000',
},
}SCSS
$custom: #2a5f0d; $custom-light: #6a8d54; $custom-dark: #000000;
JSON
{
"hex": "#2a5f0d",
"rgb": {
"r": 42,
"g": 95,
"b": 13
},
"hsl": {
"h": 98.78,
"s": 75.926,
"l": 21.176
},
"oklch": {
"l": 0.43235,
"c": 0.12343,
"h": 137.4
},
"luminance": 0.08706
}Semantic roles & 50–950 ramp
primary
#2A5F0D
secondary
#732F99
accent
#35F3B0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78