#2F8E30#2F8E30
#2F8E30 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.158 H 143.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8E30 |
|---|---|
| RGB | rgb(47, 142, 48) |
| HSL | hsl(121, 50%, 37%) |
| HSV | hsv(121, 67%, 56%) |
| CMYK | cmyk(66.9%, 0%, 66.2%, 44.3%) |
| CIE-LAB | lab(52.02, -46.77, 40.80) |
| CIE-LCH | lch(52.02, 62.06, 138.90°) |
| OKLab | oklab(57.09% -0.127 0.0946) |
| OKLCH | oklch(57.09% 0.158 143.3) |
| XYZ | xyz(11.3781, 20.1626, 6.0879) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.97
Emerald Green
#028F1E
ΔE00 2.55
Kelley Green
#009337
ΔE00 2.87
Irish Green
#019529
ΔE00 3.01
True Green
#089404
ΔE00 4.46
Fern Green
#548D44
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8E30 #8E2F8D
analogous
#5D8E2F #2F8E30 #2F8E60
triadic
#2F8E30 #302F8E #8E302F
tetradic
#2F8E30 #2F5D8E #8E2F8D #8E602F
square
#2F8E30 #2F5D8E #8E2F8D #8E602F
split-complementary
#2F8E30 #602F8E #8E2F5D
monochromatic
#113211 #206020 #2F8E30 #3EBC40 #6ACE6B
Accessibility & contrast
On white
4.17
#2F8E30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#2F8E30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8E30
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8E30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8E30 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#198A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2f8e30; /* rgb */ color: rgb(47, 142, 48); /* oklch */ color: oklch(57.1% 0.158 143.3);
Tailwind
colors: {
custom: {
50: '#74b06d',
500: '#2f8e30',
950: '#000000',
},
}SCSS
$custom: #2f8e30; $custom-light: #74b06d; $custom-dark: #000000;
JSON
{
"hex": "#2f8e30",
"rgb": {
"r": 47,
"g": 142,
"b": 48
},
"hsl": {
"h": 120.632,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.57087,
"c": 0.15835,
"h": 143.3
},
"luminance": 0.20164
}Semantic roles & 50–950 ramp
primary
#2F8E30
secondary
#B564B4
accent
#4ED8DA
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A