#2F982F#2F982F
#2F982F is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.8% C 0.171 H 143.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2F982F |
|---|---|
| RGB | rgb(47, 152, 47) |
| HSL | hsl(120, 53%, 39%) |
| HSV | hsv(120, 69%, 60%) |
| CMYK | cmyk(69.1%, 0%, 69.1%, 40.4%) |
| CIE-LAB | lab(55.34, -50.48, 44.85) |
| CIE-LCH | lch(55.34, 67.52, 138.38°) |
| OKLab | oklab(59.84% -0.1371 0.1031) |
| OKLCH | oklch(59.84% 0.171 143.1) |
| XYZ | xyz(12.9128, 23.2647, 6.4988) |
| Luminance | 0.2327 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 2.22
Kelley Green
#009337
ΔE00 3.54
True Green
#089404
ΔE00 3.57
Emerald Green
#028F1E
ΔE00 3.86
Grass Green
#3F9B0B
ΔE00 4.31
Forestgreen (CSS)
#228B22
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F982F #982F98
analogous
#64982F #2F982F #2F9864
triadic
#2F982F #2F2F98 #982F2F
tetradic
#2F982F #2F6498 #982F98 #98642F
square
#2F982F #2F6498 #982F98 #98642F
split-complementary
#2F982F #642F98 #982F64
monochromatic
#123B12 #216921 #2F982F #40C440 #6FD26F
Accessibility & contrast
On white
3.71
#2F982F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#2F982F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F982F
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F982F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F982F | 1.00 | 3.71 | 5.65 | 5.65 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8A20
Deuteranopia (green-blind)
#8F8139
Tritanopia (blue-blind)
#139483
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #2f982f; /* rgb */ color: rgb(47, 152, 47); /* oklch */ color: oklch(59.8% 0.171 143.1);
Tailwind
colors: {
custom: {
50: '#77b76d',
500: '#2f982f',
950: '#000000',
},
}SCSS
$custom: #2f982f; $custom-light: #77b76d; $custom-dark: #000000;
JSON
{
"hex": "#2f982f",
"rgb": {
"r": 47,
"g": 152,
"b": 47
},
"hsl": {
"h": 120,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.59835,
"c": 0.17149,
"h": 143.1
},
"luminance": 0.23266
}Semantic roles & 50–950 ramp
primary
#2F982F
secondary
#BA69BA
accent
#4CDCDC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A