#2F942A#2F942A
#2F942A is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.7% C 0.170 H 142.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F942A |
|---|---|
| RGB | rgb(47, 148, 42) |
| HSL | hsl(117, 56%, 37%) |
| HSV | hsv(117, 72%, 58%) |
| CMYK | cmyk(68.2%, 0%, 71.6%, 42%) |
| CIE-LAB | lab(53.97, -49.54, 45.46) |
| CIE-LCH | lch(53.97, 67.23, 137.46°) |
| OKLab | oklab(58.69% -0.1348 0.1037) |
| OKLCH | oklch(58.69% 0.17 142.4) |
| XYZ | xyz(12.1794, 21.9500, 5.7850) |
| Luminance | 0.2195 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.97
Emerald Green
#028F1E
ΔE00 2.77
True Green
#089404
ΔE00 2.93
Forestgreen (CSS)
#228B22
ΔE00 3.33
Kelley Green
#009337
ΔE00 3.36
Grass Green
#3F9B0B
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F942A #8F2A94
analogous
#64942A #2F942A #2A945A
triadic
#2F942A #2A2F94 #942A2F
tetradic
#2F942A #2A6494 #8F2A94 #945A2A
square
#2F942A #2A6494 #8F2A94 #945A2A
split-complementary
#2F942A #5A2A94 #942A64
monochromatic
#11350F #20641C #2F942A #3EC438 #6AD365
Accessibility & contrast
On white
3.90
#2F942A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#2F942A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F942A
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F942A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F942A | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978619
Deuteranopia (green-blind)
#8B7E34
Tritanopia (blue-blind)
#17907F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #2f942a; /* rgb */ color: rgb(47, 148, 42); /* oklch */ color: oklch(58.7% 0.170 142.4);
Tailwind
colors: {
custom: {
50: '#76b46a',
500: '#2f942a',
950: '#000000',
},
}SCSS
$custom: #2f942a; $custom-light: #76b46a; $custom-dark: #000000;
JSON
{
"hex": "#2f942a",
"rgb": {
"r": 47,
"g": 148,
"b": 42
},
"hsl": {
"h": 117.17,
"s": 55.789,
"l": 37.255
},
"oklch": {
"l": 0.58688,
"c": 0.17007,
"h": 142.4
},
"luminance": 0.21951
}Semantic roles & 50–950 ramp
primary
#2F942A
secondary
#B560B9
accent
#49DFD8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A