#2F8D2D#2F8D2D
#2F8D2D is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.159 H 142.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8D2D |
|---|---|
| RGB | rgb(47, 141, 45) |
| HSL | hsl(119, 52%, 36%) |
| HSV | hsv(119, 68%, 55%) |
| CMYK | cmyk(66.7%, 0%, 68.1%, 44.7%) |
| CIE-LAB | lab(51.66, -46.72, 41.73) |
| CIE-LCH | lch(51.66, 62.64, 138.23°) |
| OKLab | oklab(56.78% -0.127 0.0963) |
| OKLCH | oklch(56.78% 0.159 142.8) |
| XYZ | xyz(11.1702, 19.8424, 5.7234) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.55
Emerald Green
#028F1E
ΔE00 2.39
Irish Green
#019529
ΔE00 3.22
Kelley Green
#009337
ΔE00 3.26
True Green
#089404
ΔE00 4.33
Fern Green
#548D44
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8D2D #8B2D8D
analogous
#5F8D2D #2F8D2D #2D8D5B
triadic
#2F8D2D #2D2F8D #8D2D2F
tetradic
#2F8D2D #2D5F8D #8B2D8D #8D5B2D
square
#2F8D2D #2D5F8D #8B2D8D #8D5B2D
split-complementary
#2F8D2D #5B2D8D #8D2D5F
monochromatic
#10300F #205F1E #2F8D2D #3EBB3C #68CE66
Accessibility & contrast
On white
4.23
#2F8D2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#2F8D2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8D2D
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8D2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8D2D | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#1A8979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2f8d2d; /* rgb */ color: rgb(47, 141, 45); /* oklch */ color: oklch(56.8% 0.159 142.8);
Tailwind
colors: {
custom: {
50: '#74af6b',
500: '#2f8d2d',
950: '#000000',
},
}SCSS
$custom: #2f8d2d; $custom-light: #74af6b; $custom-dark: #000000;
JSON
{
"hex": "#2f8d2d",
"rgb": {
"r": 47,
"g": 141,
"b": 45
},
"hsl": {
"h": 118.75,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.56778,
"c": 0.15935,
"h": 142.8
},
"luminance": 0.19844
}Semantic roles & 50–950 ramp
primary
#2F8D2D
secondary
#B361B5
accent
#4DDBD8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A