#2F8D2F#2F8D2F
#2F8D2F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.158 H 143.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8D2F |
|---|---|
| RGB | rgb(47, 141, 47) |
| HSL | hsl(120, 50%, 37%) |
| HSV | hsv(120, 67%, 55%) |
| CMYK | cmyk(66.7%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(51.68, -46.51, 40.87) |
| CIE-LCH | lch(51.68, 61.91, 138.69°) |
| OKLab | oklab(56.8% -0.1263 0.0947) |
| OKLCH | oklch(56.8% 0.158 143.1) |
| XYZ | xyz(11.2096, 19.8582, 5.9310) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.75
Emerald Green
#028F1E
ΔE00 2.56
Kelley Green
#009337
ΔE00 3.11
Irish Green
#019529
ΔE00 3.27
True Green
#089404
ΔE00 4.56
Fern Green
#548D44
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8D2F #8D2F8D
analogous
#5E8D2F #2F8D2F #2F8D5E
triadic
#2F8D2F #2F2F8D #8D2F2F
tetradic
#2F8D2F #2F5E8D #8D2F8D #8D5E2F
square
#2F8D2F #2F5E8D #8D2F8D #8D5E2F
split-complementary
#2F8D2F #5E2F8D #8D2F5E
monochromatic
#103110 #205F20 #2F8D2F #3EBB3E #69CD69
Accessibility & contrast
On white
4.22
#2F8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#2F8D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8D2F
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8D2F | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 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)
#908023
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#1A897A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2f8d2f; /* rgb */ color: rgb(47, 141, 47); /* oklch */ color: oklch(56.8% 0.158 143.1);
Tailwind
colors: {
custom: {
50: '#74af6c',
500: '#2f8d2f',
950: '#000000',
},
}SCSS
$custom: #2f8d2f; $custom-light: #74af6c; $custom-dark: #000000;
JSON
{
"hex": "#2f8d2f",
"rgb": {
"r": 47,
"g": 141,
"b": 47
},
"hsl": {
"h": 120,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.56799,
"c": 0.15786,
"h": 143.1
},
"luminance": 0.19859
}Semantic roles & 50–950 ramp
primary
#2F8D2F
secondary
#B464B4
accent
#4EDADA
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A