#2D8C2F#2D8C2F
#2D8C2F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.157 H 143.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2D8C2F |
|---|---|
| RGB | rgb(45, 140, 47) |
| HSL | hsl(121, 51%, 36%) |
| HSV | hsv(121, 68%, 55%) |
| CMYK | cmyk(67.9%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(51.29, -46.57, 40.43) |
| CIE-LCH | lch(51.29, 61.67, 139.04°) |
| OKLab | oklab(56.46% -0.1264 0.0938) |
| OKLCH | oklch(56.46% 0.157 143.4) |
| XYZ | xyz(10.9727, 19.5182, 5.8779) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.65
Emerald Green
#028F1E
ΔE00 2.63
Kelley Green
#009337
ΔE00 3.19
Irish Green
#019529
ΔE00 3.51
True Green
#089404
ΔE00 4.81
Fern Green
#548D44
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D8C2F #8C2D8A
analogous
#5B8C2D #2D8C2F #2D8C5F
triadic
#2D8C2F #2F2D8C #8C2F2D
tetradic
#2D8C2F #2D5B8C #8C2D8A #8C5F2D
square
#2D8C2F #2D5B8C #8C2D8A #8C5F2D
split-complementary
#2D8C2F #5F2D8C #8C2D5B
monochromatic
#0F2F10 #1E5E1F #2D8C2F #3CBA3F #66CE68
Accessibility & contrast
On white
4.28
#2D8C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#2D8C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D8C2F
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D8C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D8C2F | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#847737
Tritanopia (blue-blind)
#158879
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2d8c2f; /* rgb */ color: rgb(45, 140, 47); /* oklch */ color: oklch(56.5% 0.157 143.4);
Tailwind
colors: {
custom: {
50: '#73af6c',
500: '#2d8c2f',
950: '#000000',
},
}SCSS
$custom: #2d8c2f; $custom-light: #73af6c; $custom-dark: #000000;
JSON
{
"hex": "#2d8c2f",
"rgb": {
"r": 45,
"g": 140,
"b": 47
},
"hsl": {
"h": 121.263,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.56462,
"c": 0.15735,
"h": 143.4
},
"luminance": 0.19519
}Semantic roles & 50–950 ramp
primary
#2D8C2F
secondary
#B460B3
accent
#4DD8DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A