#2F7E11#2F7E11
#2F7E11 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.157 H 139.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7E11 |
|---|---|
| RGB | rgb(47, 126, 17) |
| HSL | hsl(103, 76%, 28%) |
| HSV | hsv(103, 87%, 49%) |
| CMYK | cmyk(62.7%, 0%, 86.5%, 50.6%) |
| CIE-LAB | lab(46.40, -43.34, 46.68) |
| CIE-LCH | lch(46.40, 63.70, 132.87°) |
| OKLab | oklab(52.37% -0.1194 0.1027) |
| OKLCH | oklch(52.37% 0.157 139.3) |
| XYZ | xyz(8.7339, 15.5657, 3.0744) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.11
Dark Grass Green
#388004
ΔE00 1.85
Green
#008000
ΔE00 2.56
Forestgreen (CSS)
#228B22
ΔE00 4.88
Darkish Green
#287C37
ΔE00 6.05
Emerald Green
#028F1E
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7E11 #60117E
analogous
#657E11 #2F7E11 #117E29
triadic
#2F7E11 #112F7E #7E112F
tetradic
#2F7E11 #11657E #60117E #7E2911
square
#2F7E11 #11657E #60117E #7E2911
split-complementary
#2F7E11 #29117E #7E1165
monochromatic
#0A1B04 #1B480A #2F7E11 #43B418 #5BE227
Accessibility & contrast
On white
5.11
#2F7E11 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2F7E11 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7E11
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7E11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7E11 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C1F
Tritanopia (blue-blind)
#25796B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f7e11; /* rgb */ color: rgb(47, 126, 17); /* oklch */ color: oklch(52.4% 0.157 139.3);
Tailwind
colors: {
custom: {
50: '#73a45b',
500: '#2f7e11',
950: '#000000',
},
}SCSS
$custom: #2f7e11; $custom-light: #73a45b; $custom-dark: #000000;
JSON
{
"hex": "#2f7e11",
"rgb": {
"r": 47,
"g": 126,
"b": 17
},
"hsl": {
"h": 103.486,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.52368,
"c": 0.15749,
"h": 139.3
},
"luminance": 0.15567
}Semantic roles & 50–950 ramp
primary
#2F7E11
secondary
#9237B4
accent
#35F3BF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79