#2D8E2F#2D8E2F
#2D8E2F is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.160 H 143.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2D8E2F |
|---|---|
| RGB | rgb(45, 142, 47) |
| HSL | hsl(121, 52%, 37%) |
| HSV | hsv(121, 68%, 56%) |
| CMYK | cmyk(68.3%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(51.96, -47.30, 41.16) |
| CIE-LCH | lch(51.96, 62.71, 138.97°) |
| OKLab | oklab(57.02% -0.1283 0.0953) |
| OKLCH | oklch(57.02% 0.16 143.4) |
| XYZ | xyz(11.2676, 20.1080, 5.9762) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.84
Emerald Green
#028F1E
ΔE00 2.38
Kelley Green
#009337
ΔE00 2.82
Irish Green
#019529
ΔE00 2.90
True Green
#089404
ΔE00 4.33
Fern Green
#548D44
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D8E2F #8E2D8C
analogous
#5C8E2D #2D8E2F #2D8E60
triadic
#2D8E2F #2F2D8E #8E2F2D
tetradic
#2D8E2F #2D5C8E #8E2D8C #8E602D
square
#2D8E2F #2D5C8E #8E2D8C #8E602D
split-complementary
#2D8E2F #602D8E #8E2D5C
monochromatic
#103110 #1E6020 #2D8E2F #3CBC3E #67CF69
Accessibility & contrast
On white
4.18
#2D8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#2D8E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D8E2F
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D8E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D8E2F | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#857937
Tritanopia (blue-blind)
#148A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2d8e2f; /* rgb */ color: rgb(45, 142, 47); /* oklch */ color: oklch(57.0% 0.160 143.4);
Tailwind
colors: {
custom: {
50: '#74b06c',
500: '#2d8e2f',
950: '#000000',
},
}SCSS
$custom: #2d8e2f; $custom-light: #74b06c; $custom-dark: #000000;
JSON
{
"hex": "#2d8e2f",
"rgb": {
"r": 45,
"g": 142,
"b": 47
},
"hsl": {
"h": 121.237,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.57018,
"c": 0.15987,
"h": 143.4
},
"luminance": 0.20109
}Semantic roles & 50–950 ramp
primary
#2D8E2F
secondary
#B561B4
accent
#4CD8DB
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A