#2F5915#2F5915
#2F5915 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.108 H 136.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5915 |
|---|---|
| RGB | rgb(47, 89, 21) |
| HSL | hsl(97, 62%, 22%) |
| HSV | hsv(97, 76%, 35%) |
| CMYK | cmyk(47.2%, 0%, 76.4%, 65.1%) |
| CIE-LAB | lab(33.57, -27.82, 33.06) |
| CIE-LCH | lch(33.57, 43.21, 130.08°) |
| OKLab | oklab(41.8% -0.0774 0.0748) |
| OKLCH | oklch(41.8% 0.108 136) |
| XYZ | xyz(4.8799, 7.8029, 1.9583) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.24
Forest Green
#2D5A27
ΔE00 3.82
Forest
#0B5509
ΔE00 4.21
Deep Green
#02590F
ΔE00 4.69
Darkgreen
#006400
ΔE00 6.15
Bottle Green
#044A05
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5915 #3F1559
analogous
#515915 #2F5915 #15591D
triadic
#2F5915 #152F59 #59152F
tetradic
#2F5915 #155159 #3F1559 #591D15
square
#2F5915 #155159 #3F1559 #591D15
split-complementary
#2F5915 #1D1559 #591551
monochromatic
#0D1906 #152709 #2F5915 #498B21 #63BC2C
Accessibility & contrast
On white
8.20
#2F5915 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2F5915 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5915
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5915 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5915 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C510A
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#2D554C
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f5915; /* rgb */ color: rgb(47, 89, 21); /* oklch */ color: oklch(41.8% 0.108 136.0);
Tailwind
colors: {
custom: {
50: '#6c8857',
500: '#2f5915',
950: '#000000',
},
}SCSS
$custom: #2f5915; $custom-light: #6c8857; $custom-dark: #000000;
JSON
{
"hex": "#2f5915",
"rgb": {
"r": 47,
"g": 89,
"b": 21
},
"hsl": {
"h": 97.059,
"s": 61.818,
"l": 21.569
},
"oklch": {
"l": 0.418,
"c": 0.10767,
"h": 136
},
"luminance": 0.07803
}Semantic roles & 50–950 ramp
primary
#2F5915
secondary
#6F3991
accent
#43E5A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78