#2F972F#2F972F
#2F972F is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.6% C 0.170 H 143.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F972F |
|---|---|
| RGB | rgb(47, 151, 47) |
| HSL | hsl(120, 53%, 39%) |
| HSV | hsv(120, 69%, 59%) |
| CMYK | cmyk(68.9%, 0%, 68.9%, 40.8%) |
| CIE-LAB | lab(55.01, -50.12, 44.49) |
| CIE-LCH | lch(55.01, 67.02, 138.41°) |
| OKLab | oklab(59.56% -0.1361 0.1023) |
| OKLCH | oklch(59.56% 0.17 143.1) |
| XYZ | xyz(12.7512, 22.9414, 6.4449) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 2.06
Kelley Green
#009337
ΔE00 3.33
True Green
#089404
ΔE00 3.50
Emerald Green
#028F1E
ΔE00 3.60
Forestgreen (CSS)
#228B22
ΔE00 4.33
Grass Green
#3F9B0B
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F972F #972F97
analogous
#63972F #2F972F #2F9763
triadic
#2F972F #2F2F97 #972F2F
tetradic
#2F972F #2F6397 #972F97 #97632F
square
#2F972F #2F6397 #972F97 #97632F
split-complementary
#2F972F #632F97 #972F63
monochromatic
#123A12 #206820 #2F972F #40C340 #6ED26E
Accessibility & contrast
On white
3.76
#2F972F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#2F972F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F972F
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F972F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F972F | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8921
Deuteranopia (green-blind)
#8E8039
Tritanopia (blue-blind)
#149382
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #2f972f; /* rgb */ color: rgb(47, 151, 47); /* oklch */ color: oklch(59.6% 0.170 143.1);
Tailwind
colors: {
custom: {
50: '#76b76d',
500: '#2f972f',
950: '#000000',
},
}SCSS
$custom: #2f972f; $custom-light: #76b76d; $custom-dark: #000000;
JSON
{
"hex": "#2f972f",
"rgb": {
"r": 47,
"g": 151,
"b": 47
},
"hsl": {
"h": 120,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.5956,
"c": 0.17027,
"h": 143.1
},
"luminance": 0.22943
}Semantic roles & 50–950 ramp
primary
#2F972F
secondary
#B968B9
accent
#4CDCDC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A