#2F811C#2F811C
#2F811C is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.156 H 140.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F811C |
|---|---|
| RGB | rgb(47, 129, 28) |
| HSL | hsl(109, 64%, 31%) |
| HSV | hsv(109, 78%, 51%) |
| CMYK | cmyk(63.6%, 0%, 78.3%, 49.4%) |
| CIE-LAB | lab(47.48, -43.78, 44.23) |
| CIE-LCH | lch(47.48, 62.24, 134.71°) |
| OKLab | oklab(53.28% -0.12 0.0992) |
| OKLCH | oklch(53.28% 0.156 140.4) |
| XYZ | xyz(9.2317, 16.3878, 3.7751) |
| Luminance | 0.1639 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.17
Dark Grass Green
#388004
ΔE00 2.58
Green
#008000
ΔE00 2.76
Forestgreen (CSS)
#228B22
ΔE00 3.65
Emerald Green
#028F1E
ΔE00 5.22
Darkish Green
#287C37
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F811C #6E1C81
analogous
#61811C #2F811C #1C813B
triadic
#2F811C #1C2F81 #811C2F
tetradic
#2F811C #1C6181 #6E1C81 #813B1C
square
#2F811C #1C6181 #6E1C81 #813B1C
split-complementary
#2F811C #3B1C81 #811C61
monochromatic
#0A1C06 #1D4F11 #2F811C #41B327 #5DD642
Accessibility & contrast
On white
4.91
#2F811C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#2F811C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F811C
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F811C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F811C | 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)
#857505
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#237D6E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #2f811c; /* rgb */ color: rgb(47, 129, 28); /* oklch */ color: oklch(53.3% 0.156 140.4);
Tailwind
colors: {
custom: {
50: '#73a660',
500: '#2f811c',
950: '#000000',
},
}SCSS
$custom: #2f811c; $custom-light: #73a660; $custom-dark: #000000;
JSON
{
"hex": "#2f811c",
"rgb": {
"r": 47,
"g": 129,
"b": 28
},
"hsl": {
"h": 108.713,
"s": 64.331,
"l": 30.784
},
"oklch": {
"l": 0.5328,
"c": 0.15571,
"h": 140.4
},
"luminance": 0.16389
}Semantic roles & 50–950 ramp
primary
#2F811C
secondary
#9F44B4
accent
#40E7C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79