#2F5C16#2F5C16
#2F5C16 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.7% C 0.111 H 136.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5C16 |
|---|---|
| RGB | rgb(47, 92, 22) |
| HSL | hsl(99, 61%, 22%) |
| HSV | hsv(99, 76%, 36%) |
| CMYK | cmyk(48.9%, 0%, 76.1%, 63.9%) |
| CIE-LAB | lab(34.63, -29.12, 33.72) |
| CIE-LCH | lch(34.63, 44.55, 130.81°) |
| OKLab | oklab(42.68% -0.0808 0.0764) |
| OKLCH | oklch(42.68% 0.111 136.6) |
| XYZ | xyz(5.1441, 8.3162, 2.0930) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.95
Navy Green
#35530A
ΔE00 4.03
Forest
#0B5509
ΔE00 4.34
Deep Green
#02590F
ΔE00 4.52
Darkgreen
#006400
ΔE00 5.38
Camouflage Green
#4B6113
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5C16 #43165C
analogous
#525C16 #2F5C16 #165C20
triadic
#2F5C16 #162F5C #5C162F
tetradic
#2F5C16 #16525C #43165C #5C2016
square
#2F5C16 #16525C #43165C #5C2016
split-complementary
#2F5C16 #20165C #5C1652
monochromatic
#0D1906 #162B0A #2F5C16 #488D22 #61BF2E
Accessibility & contrast
On white
7.88
#2F5C16 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2F5C16 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5C16
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5C16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5C16 | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F540A
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#2D584E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f5c16; /* rgb */ color: rgb(47, 92, 22); /* oklch */ color: oklch(42.7% 0.111 136.6);
Tailwind
colors: {
custom: {
50: '#6c8a58',
500: '#2f5c16',
950: '#000000',
},
}SCSS
$custom: #2f5c16; $custom-light: #6c8a58; $custom-dark: #000000;
JSON
{
"hex": "#2f5c16",
"rgb": {
"r": 47,
"g": 92,
"b": 22
},
"hsl": {
"h": 98.571,
"s": 61.404,
"l": 22.353
},
"oklch": {
"l": 0.42676,
"c": 0.11119,
"h": 136.6
},
"luminance": 0.08317
}Semantic roles & 50–950 ramp
primary
#2F5C16
secondary
#743B93
accent
#43E5AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78