#2F6218#2F6218
#2F6218 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.118 H 137.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6218 |
|---|---|
| RGB | rgb(47, 98, 24) |
| HSL | hsl(101, 61%, 24%) |
| HSV | hsv(101, 76%, 38%) |
| CMYK | cmyk(52%, 0%, 75.5%, 61.6%) |
| CIE-LAB | lab(36.75, -31.62, 35.04) |
| CIE-LCH | lch(36.75, 47.20, 132.06°) |
| OKLab | oklab(44.42% -0.0874 0.0794) |
| OKLCH | oklch(44.42% 0.118 137.7) |
| XYZ | xyz(5.7047, 9.4053, 2.3788) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.25
Forest Green
#2D5A27
ΔE00 4.89
Deep Green
#02590F
ΔE00 4.91
Forest
#0B5509
ΔE00 5.28
Navy Green
#35530A
ΔE00 5.78
Camouflage Green
#4B6113
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6218 #4B1862
analogous
#546218 #2F6218 #186226
triadic
#2F6218 #182F62 #62182F
tetradic
#2F6218 #185462 #4B1862 #622618
square
#2F6218 #185462 #4B1862 #622618
split-complementary
#2F6218 #261862 #621854
monochromatic
#0C1906 #17310C #2F6218 #479324 #5EC430
Accessibility & contrast
On white
7.29
#2F6218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2F6218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F6218
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6218 | 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)
#65590C
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#2C5E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f6218; /* rgb */ color: rgb(47, 98, 24); /* oklch */ color: oklch(44.4% 0.118 137.7);
Tailwind
colors: {
custom: {
50: '#6d8f5a',
500: '#2f6218',
950: '#000000',
},
}SCSS
$custom: #2f6218; $custom-light: #6d8f5a; $custom-dark: #000000;
JSON
{
"hex": "#2f6218",
"rgb": {
"r": 47,
"g": 98,
"b": 24
},
"hsl": {
"h": 101.351,
"s": 60.656,
"l": 23.922
},
"oklch": {
"l": 0.44422,
"c": 0.11814,
"h": 137.7
},
"luminance": 0.09406
}Semantic roles & 50–950 ramp
primary
#2F6218
secondary
#7C3E98
accent
#44E4B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79