#2F8F2C#2F8F2C
#2F8F2C is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.163 H 142.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8F2C |
|---|---|
| RGB | rgb(47, 143, 44) |
| HSL | hsl(118, 53%, 37%) |
| HSV | hsv(118, 69%, 56%) |
| CMYK | cmyk(67.1%, 0%, 69.2%, 43.9%) |
| CIE-LAB | lab(52.32, -47.55, 42.88) |
| CIE-LCH | lch(52.32, 64.03, 137.96°) |
| OKLab | oklab(57.32% -0.1293 0.0986) |
| OKLCH | oklch(57.32% 0.163 142.7) |
| XYZ | xyz(11.4487, 20.4299, 5.7224) |
| Luminance | 0.2043 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.87
Emerald Green
#028F1E
ΔE00 2.21
Irish Green
#019529
ΔE00 2.66
Kelley Green
#009337
ΔE00 3.09
True Green
#089404
ΔE00 3.78
Fern Green
#548D44
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8F2C #8C2C8F
analogous
#618F2C #2F8F2C #2C8F5B
triadic
#2F8F2C #2C2F8F #8F2C2F
tetradic
#2F8F2C #2C618F #8C2C8F #8F5B2C
square
#2F8F2C #2C618F #8C2C8F #8F5B2C
split-complementary
#2F8F2C #5B2C8F #8F2C61
monochromatic
#10310F #20601E #2F8F2C #3EBE3A #69D066
Accessibility & contrast
On white
4.13
#2F8F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#2F8F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8F2C
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8F2C | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92821E
Deuteranopia (green-blind)
#877A35
Tritanopia (blue-blind)
#1A8B7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2f8f2c; /* rgb */ color: rgb(47, 143, 44); /* oklch */ color: oklch(57.3% 0.163 142.7);
Tailwind
colors: {
custom: {
50: '#75b16a',
500: '#2f8f2c',
950: '#000000',
},
}SCSS
$custom: #2f8f2c; $custom-light: #75b16a; $custom-dark: #000000;
JSON
{
"hex": "#2f8f2c",
"rgb": {
"r": 47,
"g": 143,
"b": 44
},
"hsl": {
"h": 118.182,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.57323,
"c": 0.16258,
"h": 142.7
},
"luminance": 0.20431
}Semantic roles & 50–950 ramp
primary
#2F8F2C
secondary
#B461B6
accent
#4BDCD8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A