#2F6017#2F6017
#2F6017 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.8% C 0.116 H 137.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6017 |
|---|---|
| RGB | rgb(47, 96, 23) |
| HSL | hsl(100, 61%, 23%) |
| HSV | hsv(100, 76%, 38%) |
| CMYK | cmyk(51%, 0%, 76%, 62.4%) |
| CIE-LAB | lab(36.05, -30.82, 34.74) |
| CIE-LCH | lch(36.05, 46.44, 131.58°) |
| OKLab | oklab(43.84% -0.0854 0.0787) |
| OKLCH | oklch(43.84% 0.116 137.3) |
| XYZ | xyz(5.5096, 9.0316, 2.2634) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.53
Forest Green
#2D5A27
ΔE00 4.55
Deep Green
#02590F
ΔE00 4.69
Forest
#0B5509
ΔE00 4.89
Navy Green
#35530A
ΔE00 5.17
Camouflage Green
#4B6113
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6017 #481760
analogous
#536017 #2F6017 #176023
triadic
#2F6017 #172F60 #60172F
tetradic
#2F6017 #175360 #481760 #602317
square
#2F6017 #175360 #481760 #602317
split-complementary
#2F6017 #231760 #601753
monochromatic
#0C1906 #172F0B #2F6017 #479123 #5FC32F
Accessibility & contrast
On white
7.48
#2F6017 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2F6017 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F6017
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6017 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63570B
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#2C5C52
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f6017; /* rgb */ color: rgb(47, 96, 23); /* oklch */ color: oklch(43.8% 0.116 137.3);
Tailwind
colors: {
custom: {
50: '#6d8d59',
500: '#2f6017',
950: '#000000',
},
}SCSS
$custom: #2f6017; $custom-light: #6d8d59; $custom-dark: #000000;
JSON
{
"hex": "#2f6017",
"rgb": {
"r": 47,
"g": 96,
"b": 23
},
"hsl": {
"h": 100.274,
"s": 61.345,
"l": 23.333
},
"oklch": {
"l": 0.43838,
"c": 0.11608,
"h": 137.3
},
"luminance": 0.09032
}Semantic roles & 50–950 ramp
primary
#2F6017
secondary
#793C97
accent
#43E4AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79