#2F7F11#2F7F11
#2F7F11 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.159 H 139.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7F11 |
|---|---|
| RGB | rgb(47, 127, 17) |
| HSL | hsl(104, 76%, 28%) |
| HSV | hsv(104, 87%, 50%) |
| CMYK | cmyk(63%, 0%, 86.6%, 50.2%) |
| CIE-LAB | lab(46.74, -43.71, 46.99) |
| CIE-LCH | lch(46.74, 64.17, 132.93°) |
| OKLab | oklab(52.65% -0.1204 0.1034) |
| OKLCH | oklch(52.65% 0.159 139.3) |
| XYZ | xyz(8.8625, 15.8227, 3.1173) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.21
Dark Grass Green
#388004
ΔE00 1.71
Green
#008000
ΔE00 2.50
Forestgreen (CSS)
#228B22
ΔE00 4.57
Emerald Green
#028F1E
ΔE00 6.02
Darkish Green
#287C37
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7F11 #61117F
analogous
#667F11 #2F7F11 #117F2A
triadic
#2F7F11 #112F7F #7F112F
tetradic
#2F7F11 #11667F #61117F #7F2A11
square
#2F7F11 #11667F #61117F #7F2A11
split-complementary
#2F7F11 #2A117F #7F1166
monochromatic
#0A1B04 #1B490A #2F7F11 #43B518 #5BE228
Accessibility & contrast
On white
5.04
#2F7F11 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2F7F11 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7F11
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7F11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7F11 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#257A6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2f7f11; /* rgb */ color: rgb(47, 127, 17); /* oklch */ color: oklch(52.7% 0.159 139.3);
Tailwind
colors: {
custom: {
50: '#73a55b',
500: '#2f7f11',
950: '#000000',
},
}SCSS
$custom: #2f7f11; $custom-light: #73a55b; $custom-dark: #000000;
JSON
{
"hex": "#2f7f11",
"rgb": {
"r": 47,
"g": 127,
"b": 17
},
"hsl": {
"h": 103.636,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.52651,
"c": 0.15866,
"h": 139.3
},
"luminance": 0.15824
}Semantic roles & 50–950 ramp
primary
#2F7F11
secondary
#9337B5
accent
#35F3BF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79