#2A5D0F#2A5D0F
#2A5D0F is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.7% C 0.120 H 137.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5D0F |
|---|---|
| RGB | rgb(42, 93, 15) |
| HSL | hsl(99, 72%, 21%) |
| HSV | hsv(99, 84%, 36%) |
| CMYK | cmyk(54.8%, 0%, 83.9%, 63.5%) |
| CIE-LAB | lab(34.71, -31.80, 36.45) |
| CIE-LCH | lch(34.71, 48.37, 131.10°) |
| OKLab | oklab(42.66% -0.0882 0.081) |
| OKLCH | oklch(42.66% 0.12 137.4) |
| XYZ | xyz(4.9553, 8.3551, 1.8034) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest
#0B5509
ΔE00 3.98
Deep Green
#02590F
ΔE00 4.06
Darkgreen
#006400
ΔE00 4.30
Navy Green
#35530A
ΔE00 4.59
Forest Green
#2D5A27
ΔE00 4.89
Camouflage Green
#4B6113
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5D0F #420F5D
analogous
#515D0F #2A5D0F #0F5D1B
triadic
#2A5D0F #0F2A5D #5D0F2A
tetradic
#2A5D0F #0F515D #420F5D #5D1B0F
square
#2A5D0F #0F515D #420F5D #5D1B0F
split-complementary
#2A5D0F #1B0F5D #5D0F51
monochromatic
#0C1A04 #122806 #2A5D0F #429217 #5AC620
Accessibility & contrast
On white
7.86
#2A5D0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2A5D0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A5D0F
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5D0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5D0F | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#26594F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a5d0f; /* rgb */ color: rgb(42, 93, 15); /* oklch */ color: oklch(42.7% 0.120 137.4);
Tailwind
colors: {
custom: {
50: '#6a8b55',
500: '#2a5d0f',
950: '#000000',
},
}SCSS
$custom: #2a5d0f; $custom-light: #6a8b55; $custom-dark: #000000;
JSON
{
"hex": "#2a5d0f",
"rgb": {
"r": 42,
"g": 93,
"b": 15
},
"hsl": {
"h": 99.231,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.42663,
"c": 0.11977,
"h": 137.4
},
"luminance": 0.08355
}Semantic roles & 50–950 ramp
primary
#2A5D0F
secondary
#733196
accent
#39EFB0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78