#2F952A#2F952A
#2F952A is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.171 H 142.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2F952A |
|---|---|
| RGB | rgb(47, 149, 42) |
| HSL | hsl(117, 56%, 37%) |
| HSV | hsv(117, 72%, 58%) |
| CMYK | cmyk(68.5%, 0%, 71.8%, 41.6%) |
| CIE-LAB | lab(54.31, -49.89, 45.81) |
| CIE-LCH | lch(54.31, 67.73, 137.44°) |
| OKLab | oklab(58.96% -0.1357 0.1045) |
| OKLCH | oklch(58.96% 0.171 142.4) |
| XYZ | xyz(12.3370, 22.2651, 5.8375) |
| Luminance | 0.2227 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.99
True Green
#089404
ΔE00 2.91
Emerald Green
#028F1E
ΔE00 3.00
Kelley Green
#009337
ΔE00 3.48
Forestgreen (CSS)
#228B22
ΔE00 3.66
Grass Green
#3F9B0B
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F952A #902A95
analogous
#65952A #2F952A #2A955A
triadic
#2F952A #2A2F95 #952A2F
tetradic
#2F952A #2A6595 #902A95 #955A2A
square
#2F952A #2A6595 #902A95 #955A2A
split-complementary
#2F952A #5A2A95 #952A65
monochromatic
#11360F #20651D #2F952A #3EC537 #6BD466
Accessibility & contrast
On white
3.85
#2F952A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#2F952A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F952A
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F952A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F952A | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988719
Deuteranopia (green-blind)
#8C7F35
Tritanopia (blue-blind)
#179080
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #2f952a; /* rgb */ color: rgb(47, 149, 42); /* oklch */ color: oklch(59.0% 0.171 142.4);
Tailwind
colors: {
custom: {
50: '#76b56a',
500: '#2f952a',
950: '#000000',
},
}SCSS
$custom: #2f952a; $custom-light: #76b56a; $custom-dark: #000000;
JSON
{
"hex": "#2f952a",
"rgb": {
"r": 47,
"g": 149,
"b": 42
},
"hsl": {
"h": 117.196,
"s": 56.021,
"l": 37.451
},
"oklch": {
"l": 0.58964,
"c": 0.17127,
"h": 142.4
},
"luminance": 0.22266
}Semantic roles & 50–950 ramp
primary
#2F952A
secondary
#B661BA
accent
#48DFD8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A