#2F6917#2F6917
#2F6917 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.128 H 138.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6917 |
|---|---|
| RGB | rgb(47, 105, 23) |
| HSL | hsl(102, 64%, 25%) |
| HSV | hsv(102, 78%, 41%) |
| CMYK | cmyk(55.2%, 0%, 78.1%, 58.8%) |
| CIE-LAB | lab(39.19, -34.70, 37.91) |
| CIE-LCH | lch(39.19, 51.39, 132.47°) |
| OKLab | oklab(46.42% -0.0958 0.0853) |
| OKLCH | oklch(46.42% 0.128 138.3) |
| XYZ | xyz(6.3783, 10.7689, 2.5529) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.94
Deep Green
#02590F
ΔE00 6.44
Forest Green
#2D5A27
ΔE00 6.96
Forest
#0B5509
ΔE00 7.12
Camouflage Green
#4B6113
ΔE00 7.14
Tree Green
#2A7E19
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6917 #511769
analogous
#586917 #2F6917 #176928
triadic
#2F6917 #172F69 #69172F
tetradic
#2F6917 #175869 #511769 #692817
square
#2F6917 #175869 #511769 #692817
split-complementary
#2F6917 #281769 #691758
monochromatic
#0B1905 #19370C #2F6917 #459B22 #5CCD2D
Accessibility & contrast
On white
6.66
#2F6917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2F6917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6917
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6917 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#2A6559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f6917; /* rgb */ color: rgb(47, 105, 23); /* oklch */ color: oklch(46.4% 0.128 138.3);
Tailwind
colors: {
custom: {
50: '#6e945a',
500: '#2f6917',
950: '#000000',
},
}SCSS
$custom: #2f6917; $custom-light: #6e945a; $custom-dark: #000000;
JSON
{
"hex": "#2f6917",
"rgb": {
"r": 47,
"g": 105,
"b": 23
},
"hsl": {
"h": 102.439,
"s": 64.063,
"l": 25.098
},
"oklch": {
"l": 0.46424,
"c": 0.12827,
"h": 138.3
},
"luminance": 0.10769
}Semantic roles & 50–950 ramp
primary
#2F6917
secondary
#823D9F
accent
#41E7B6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79