#2F6217#2F6217
#2F6217 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.119 H 137.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6217 |
|---|---|
| RGB | rgb(47, 98, 23) |
| HSL | hsl(101, 62%, 24%) |
| HSV | hsv(101, 77%, 38%) |
| CMYK | cmyk(52%, 0%, 76.5%, 61.6%) |
| CIE-LAB | lab(36.75, -31.70, 35.45) |
| CIE-LCH | lch(36.75, 47.56, 131.80°) |
| OKLab | oklab(44.41% -0.0877 0.0802) |
| OKLCH | oklch(44.41% 0.119 137.6) |
| XYZ | xyz(5.6944, 9.4012, 2.3250) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.19
Deep Green
#02590F
ΔE00 4.95
Forest Green
#2D5A27
ΔE00 5.03
Forest
#0B5509
ΔE00 5.30
Navy Green
#35530A
ΔE00 5.75
Camouflage Green
#4B6113
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6217 #4A1762
analogous
#546217 #2F6217 #176224
triadic
#2F6217 #172F62 #62172F
tetradic
#2F6217 #175462 #4A1762 #622417
square
#2F6217 #175462 #4A1762 #622417
split-complementary
#2F6217 #241762 #621754
monochromatic
#0C1906 #17300B #2F6217 #479423 #5FC52E
Accessibility & contrast
On white
7.29
#2F6217 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2F6217 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F6217
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6217 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6217 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#65590A
Deuteranopia (green-blind)
#5F551E
Tritanopia (blue-blind)
#2C5E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f6217; /* rgb */ color: rgb(47, 98, 23); /* oklch */ color: oklch(44.4% 0.119 137.6);
Tailwind
colors: {
custom: {
50: '#6d8f59',
500: '#2f6217',
950: '#000000',
},
}SCSS
$custom: #2f6217; $custom-light: #6d8f59; $custom-dark: #000000;
JSON
{
"hex": "#2f6217",
"rgb": {
"r": 47,
"g": 98,
"b": 23
},
"hsl": {
"h": 100.8,
"s": 61.983,
"l": 23.725
},
"oklch": {
"l": 0.44413,
"c": 0.11884,
"h": 137.6
},
"luminance": 0.09402
}Semantic roles & 50–950 ramp
primary
#2F6217
secondary
#7B3C99
accent
#43E5B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79