#2F8111#2F8111
#2F8111 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.161 H 139.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8111 |
|---|---|
| RGB | rgb(47, 129, 17) |
| HSL | hsl(104, 77%, 29%) |
| HSV | hsv(104, 87%, 51%) |
| CMYK | cmyk(63.6%, 0%, 86.8%, 49.4%) |
| CIE-LAB | lab(47.42, -44.44, 47.60) |
| CIE-LCH | lch(47.42, 65.13, 133.03°) |
| OKLab | oklab(53.22% -0.1223 0.1047) |
| OKLCH | oklch(53.22% 0.161 139.5) |
| XYZ | xyz(9.1233, 16.3445, 3.2042) |
| Luminance | 0.1635 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.62
Tree Green
#2A7E19
ΔE00 1.64
Green
#008000
ΔE00 2.52
Forestgreen (CSS)
#228B22
ΔE00 3.96
Emerald Green
#028F1E
ΔE00 5.39
Avocado
#568203
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8111 #631181
analogous
#678111 #2F8111 #11812B
triadic
#2F8111 #112F81 #81112F
tetradic
#2F8111 #116781 #631181 #812B11
square
#2F8111 #116781 #631181 #812B11
split-complementary
#2F8111 #2B1181 #811167
monochromatic
#0A1B04 #1B4B0A #2F8111 #43B718 #5BE32A
Accessibility & contrast
On white
4.92
#2F8111 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#2F8111 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F8111
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8111 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F8111 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#247C6D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2f8111; /* rgb */ color: rgb(47, 129, 17); /* oklch */ color: oklch(53.2% 0.161 139.5);
Tailwind
colors: {
custom: {
50: '#73a65c',
500: '#2f8111',
950: '#000000',
},
}SCSS
$custom: #2f8111; $custom-light: #73a65c; $custom-dark: #000000;
JSON
{
"hex": "#2f8111",
"rgb": {
"r": 47,
"g": 129,
"b": 17
},
"hsl": {
"h": 103.929,
"s": 76.712,
"l": 28.627
},
"oklch": {
"l": 0.53215,
"c": 0.16101,
"h": 139.5
},
"luminance": 0.16345
}Semantic roles & 50–950 ramp
primary
#2F8111
secondary
#9537B7
accent
#35F3C0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79