#2F972C#2F972C
#2F972C is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.172 H 142.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2F972C |
|---|---|
| RGB | rgb(47, 151, 44) |
| HSL | hsl(118, 55%, 38%) |
| HSV | hsv(118, 71%, 59%) |
| CMYK | cmyk(68.9%, 0%, 70.9%, 40.8%) |
| CIE-LAB | lab(54.99, -50.41, 45.71) |
| CIE-LCH | lch(54.99, 68.05, 137.80°) |
| OKLab | oklab(59.53% -0.137 0.1045) |
| OKLCH | oklch(59.53% 0.172 142.7) |
| XYZ | xyz(12.6928, 22.9181, 6.1371) |
| Luminance | 0.2292 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 2.12
True Green
#089404
ΔE00 3.19
Emerald Green
#028F1E
ΔE00 3.54
Kelley Green
#009337
ΔE00 3.61
Grass Green
#3F9B0B
ΔE00 4.12
Forestgreen (CSS)
#228B22
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F972C #942C97
analogous
#64972C #2F972C #2C975E
triadic
#2F972C #2C2F97 #972C2F
tetradic
#2F972C #2C6497 #942C97 #975E2C
square
#2F972C #2C6497 #942C97 #975E2C
split-complementary
#2F972C #5E2C97 #972C64
monochromatic
#113810 #20681E #2F972C #3EC63A #6DD46A
Accessibility & contrast
On white
3.76
#2F972C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#2F972C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F972C
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F972C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F972C | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A891C
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#159282
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #2f972c; /* rgb */ color: rgb(47, 151, 44); /* oklch */ color: oklch(59.5% 0.172 142.7);
Tailwind
colors: {
custom: {
50: '#77b76b',
500: '#2f972c',
950: '#000000',
},
}SCSS
$custom: #2f972c; $custom-light: #77b76b; $custom-dark: #000000;
JSON
{
"hex": "#2f972c",
"rgb": {
"r": 47,
"g": 151,
"b": 44
},
"hsl": {
"h": 118.318,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.59532,
"c": 0.17235,
"h": 142.7
},
"luminance": 0.22919
}Semantic roles & 50–950 ramp
primary
#2F972C
secondary
#B865BA
accent
#4ADEDA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A