#2F8E2D#2F8E2D
#2F8E2D is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.161 H 142.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8E2D |
|---|---|
| RGB | rgb(47, 142, 45) |
| HSL | hsl(119, 52%, 37%) |
| HSV | hsv(119, 68%, 56%) |
| CMYK | cmyk(66.9%, 0%, 68.3%, 44.3%) |
| CIE-LAB | lab(51.99, -47.09, 42.10) |
| CIE-LCH | lch(51.99, 63.16, 138.20°) |
| OKLab | oklab(57.06% -0.128 0.097) |
| OKLCH | oklch(57.06% 0.161 142.8) |
| XYZ | xyz(11.3183, 20.1386, 5.7728) |
| Luminance | 0.2014 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.71
Emerald Green
#028F1E
ΔE00 2.30
Irish Green
#019529
ΔE00 2.93
Kelley Green
#009337
ΔE00 3.11
True Green
#089404
ΔE00 4.10
Fern Green
#548D44
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8E2D #8C2D8E
analogous
#608E2D #2F8E2D #2D8E5C
triadic
#2F8E2D #2D2F8E #8E2D2F
tetradic
#2F8E2D #2D608E #8C2D8E #8E5C2D
square
#2F8E2D #2D608E #8C2D8E #8E5C2D
split-complementary
#2F8E2D #5C2D8E #8E2D60
monochromatic
#103110 #20601E #2F8E2D #3EBC3C #69CF67
Accessibility & contrast
On white
4.18
#2F8E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#2F8E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8E2D
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8E2D | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#1A8A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2f8e2d; /* rgb */ color: rgb(47, 142, 45); /* oklch */ color: oklch(57.1% 0.161 142.8);
Tailwind
colors: {
custom: {
50: '#75b06b',
500: '#2f8e2d',
950: '#000000',
},
}SCSS
$custom: #2f8e2d; $custom-light: #75b06b; $custom-dark: #000000;
JSON
{
"hex": "#2f8e2d",
"rgb": {
"r": 47,
"g": 142,
"b": 45
},
"hsl": {
"h": 118.763,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.57056,
"c": 0.1606,
"h": 142.8
},
"luminance": 0.2014
}Semantic roles & 50–950 ramp
primary
#2F8E2D
secondary
#B461B5
accent
#4CDBD8
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A