#2F811E#2F811E
#2F811E is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.155 H 140.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F811E |
|---|---|
| RGB | rgb(47, 129, 30) |
| HSL | hsl(110, 62%, 31%) |
| HSV | hsv(110, 77%, 51%) |
| CMYK | cmyk(63.6%, 0%, 76.7%, 49.4%) |
| CIE-LAB | lab(47.49, -43.63, 43.51) |
| CIE-LCH | lch(47.49, 61.62, 135.08°) |
| OKLab | oklab(53.29% -0.1195 0.098) |
| OKLCH | oklch(53.29% 0.155 140.6) |
| XYZ | xyz(9.2564, 16.3977, 3.9053) |
| Luminance | 0.1640 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.19
Dark Grass Green
#388004
ΔE00 2.80
Green
#008000
ΔE00 2.87
Forestgreen (CSS)
#228B22
ΔE00 3.63
Darkish Green
#287C37
ΔE00 5.14
Emerald Green
#028F1E
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F811E #701E81
analogous
#60811E #2F811E #1E813E
triadic
#2F811E #1E2F81 #811E2F
tetradic
#2F811E #1E6081 #701E81 #813E1E
square
#2F811E #1E6081 #701E81 #813E1E
split-complementary
#2F811E #3E1E81 #811E60
monochromatic
#0B1E07 #1D4F12 #2F811E #41B32A #5ED446
Accessibility & contrast
On white
4.91
#2F811E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#2F811E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F811E
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F811E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F811E | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750A
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#237D6E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #2f811e; /* rgb */ color: rgb(47, 129, 30); /* oklch */ color: oklch(53.3% 0.155 140.6);
Tailwind
colors: {
custom: {
50: '#73a661',
500: '#2f811e',
950: '#000000',
},
}SCSS
$custom: #2f811e; $custom-light: #73a661; $custom-dark: #000000;
JSON
{
"hex": "#2f811e",
"rgb": {
"r": 47,
"g": 129,
"b": 30
},
"hsl": {
"h": 109.697,
"s": 62.264,
"l": 31.176
},
"oklch": {
"l": 0.53294,
"c": 0.15454,
"h": 140.6
},
"luminance": 0.16399
}Semantic roles & 50–950 ramp
primary
#2F811E
secondary
#A147B4
accent
#42E5C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A