#2F6912#2F6912
#2F6912 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.131 H 137.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6912 |
|---|---|
| RGB | rgb(47, 105, 18) |
| HSL | hsl(100, 71%, 24%) |
| HSV | hsv(100, 83%, 41%) |
| CMYK | cmyk(55.2%, 0%, 82.9%, 58.8%) |
| CIE-LAB | lab(39.16, -35.05, 39.70) |
| CIE-LCH | lch(39.16, 52.96, 131.43°) |
| OKLab | oklab(46.39% -0.0971 0.0882) |
| OKLCH | oklch(46.39% 0.131 137.7) |
| XYZ | xyz(6.3328, 10.7507, 2.3135) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.89
Deep Green
#02590F
ΔE00 6.66
Camouflage Green
#4B6113
ΔE00 6.95
Tree Green
#2A7E19
ΔE00 7.23
Forest
#0B5509
ΔE00 7.27
Forest Green
#2D5A27
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6912 #4C1269
analogous
#5B6912 #2F6912 #126921
triadic
#2F6912 #122F69 #69122F
tetradic
#2F6912 #125B69 #4C1269 #692112
square
#2F6912 #125B69 #4C1269 #692112
split-complementary
#2F6912 #211269 #69125B
monochromatic
#0C1A04 #183509 #2F6912 #469D1B #5ED124
Accessibility & contrast
On white
6.67
#2F6912 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2F6912 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6912
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6912 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#2B6559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f6912; /* rgb */ color: rgb(47, 105, 18); /* oklch */ color: oklch(46.4% 0.131 137.7);
Tailwind
colors: {
custom: {
50: '#6f9458',
500: '#2f6912',
950: '#000000',
},
}SCSS
$custom: #2f6912; $custom-light: #6f9458; $custom-dark: #000000;
JSON
{
"hex": "#2f6912",
"rgb": {
"r": 47,
"g": 105,
"b": 18
},
"hsl": {
"h": 100,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.46388,
"c": 0.1312,
"h": 137.7
},
"luminance": 0.10751
}Semantic roles & 50–950 ramp
primary
#2F6912
secondary
#7D36A1
accent
#3AEDB2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79