#2F7C20#2F7C20
#2F7C20 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.147 H 140.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7C20 |
|---|---|
| RGB | rgb(47, 124, 32) |
| HSL | hsl(110, 59%, 31%) |
| HSV | hsv(110, 74%, 49%) |
| CMYK | cmyk(62.1%, 0%, 74.2%, 51.4%) |
| CIE-LAB | lab(45.80, -41.57, 41.03) |
| CIE-LCH | lch(45.80, 58.41, 135.38°) |
| OKLab | oklab(51.9% -0.1138 0.0931) |
| OKLCH | oklch(51.9% 0.147 140.7) |
| XYZ | xyz(8.6402, 15.1231, 3.8300) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.17
Green
#008000
ΔE00 3.46
Dark Grass Green
#388004
ΔE00 3.64
Darkish Green
#287C37
ΔE00 4.22
Forestgreen (CSS)
#228B22
ΔE00 5.37
Emerald Green
#028F1E
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7C20 #6D207C
analogous
#5D7C20 #2F7C20 #207C3F
triadic
#2F7C20 #202F7C #7C202F
tetradic
#2F7C20 #205D7C #6D207C #7C3F20
square
#2F7C20 #205D7C #6D207C #7C3F20
split-complementary
#2F7C20 #3F207C #7C205D
monochromatic
#0A1B07 #1D4B13 #2F7C20 #41AD2D #5DCF47
Accessibility & contrast
On white
5.22
#2F7C20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#2F7C20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7C20
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7C20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7C20 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7010
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#24786A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2f7c20; /* rgb */ color: rgb(47, 124, 32); /* oklch */ color: oklch(51.9% 0.147 140.7);
Tailwind
colors: {
custom: {
50: '#71a362',
500: '#2f7c20',
950: '#000000',
},
}SCSS
$custom: #2f7c20; $custom-light: #71a362; $custom-dark: #000000;
JSON
{
"hex": "#2f7c20",
"rgb": {
"r": 47,
"g": 124,
"b": 32
},
"hsl": {
"h": 110.217,
"s": 58.974,
"l": 30.588
},
"oklch": {
"l": 0.51902,
"c": 0.14704,
"h": 140.7
},
"luminance": 0.15124
}Semantic roles & 50–950 ramp
primary
#2F7C20
secondary
#9E49AF
accent
#46E2C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A