#2F8D2C#2F8D2C
#2F8D2C is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.160 H 142.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8D2C |
|---|---|
| RGB | rgb(47, 141, 44) |
| HSL | hsl(118, 52%, 36%) |
| HSV | hsv(118, 69%, 55%) |
| CMYK | cmyk(66.7%, 0%, 68.8%, 44.7%) |
| CIE-LAB | lab(51.65, -46.82, 42.16) |
| CIE-LCH | lch(51.65, 63.00, 138.00°) |
| OKLab | oklab(56.77% -0.1273 0.0971) |
| OKLCH | oklch(56.77% 0.16 142.7) |
| XYZ | xyz(11.1512, 19.8348, 5.6232) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.46
Emerald Green
#028F1E
ΔE00 2.32
Irish Green
#019529
ΔE00 3.20
Kelley Green
#009337
ΔE00 3.34
True Green
#089404
ΔE00 4.22
Fern Green
#548D44
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8D2C #8A2C8D
analogous
#608D2C #2F8D2C #2C8D5A
triadic
#2F8D2C #2C2F8D #8D2C2F
tetradic
#2F8D2C #2C608D #8A2C8D #8D5A2C
square
#2F8D2C #2C608D #8A2C8D #8D5A2C
split-complementary
#2F8D2C #5A2C8D #8D2C60
monochromatic
#10300F #1F5E1D #2F8D2C #3FBC3B #68CF65
Accessibility & contrast
On white
4.23
#2F8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#2F8D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8D2C
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8D2C | 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)
#90801F
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#1B8979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2f8d2c; /* rgb */ color: rgb(47, 141, 44); /* oklch */ color: oklch(56.8% 0.160 142.7);
Tailwind
colors: {
custom: {
50: '#74af6a',
500: '#2f8d2c',
950: '#000000',
},
}SCSS
$custom: #2f8d2c; $custom-light: #74af6a; $custom-dark: #000000;
JSON
{
"hex": "#2f8d2c",
"rgb": {
"r": 47,
"g": 141,
"b": 44
},
"hsl": {
"h": 118.144,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.56768,
"c": 0.16008,
"h": 142.7
},
"luminance": 0.19836
}Semantic roles & 50–950 ramp
primary
#2F8D2C
secondary
#B360B5
accent
#4CDCD7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A