#2D8C2D#2D8C2D
#2D8C2D is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.159 H 143.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2D8C2D |
|---|---|
| RGB | rgb(45, 140, 45) |
| HSL | hsl(120, 51%, 36%) |
| HSV | hsv(120, 68%, 55%) |
| CMYK | cmyk(67.9%, 0%, 67.9%, 45.1%) |
| CIE-LAB | lab(51.27, -46.79, 41.30) |
| CIE-LCH | lch(51.27, 62.41, 138.57°) |
| OKLab | oklab(56.44% -0.127 0.0954) |
| OKLCH | oklch(56.44% 0.159 143.1) |
| XYZ | xyz(10.9333, 19.5024, 5.6703) |
| Luminance | 0.1950 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.40
Emerald Green
#028F1E
ΔE00 2.45
Kelley Green
#009337
ΔE00 3.32
Irish Green
#019529
ΔE00 3.45
True Green
#089404
ΔE00 4.58
Fern Green
#548D44
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D8C2D #8C2D8C
analogous
#5D8C2D #2D8C2D #2D8C5D
triadic
#2D8C2D #2D2D8C #8C2D2D
tetradic
#2D8C2D #2D5D8C #8C2D8C #8C5D2D
square
#2D8C2D #2D5D8C #8C2D8C #8C5D2D
split-complementary
#2D8C2D #5D2D8C #8C2D5D
monochromatic
#0F2F0F #1E5E1E #2D8C2D #3CBA3C #66CE66
Accessibility & contrast
On white
4.29
#2D8C2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#2D8C2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D8C2D
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D8C2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D8C2D | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 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)
#8F7F21
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#168878
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2d8c2d; /* rgb */ color: rgb(45, 140, 45); /* oklch */ color: oklch(56.4% 0.159 143.1);
Tailwind
colors: {
custom: {
50: '#73af6b',
500: '#2d8c2d',
950: '#000000',
},
}SCSS
$custom: #2d8c2d; $custom-light: #73af6b; $custom-dark: #000000;
JSON
{
"hex": "#2d8c2d",
"rgb": {
"r": 45,
"g": 140,
"b": 45
},
"hsl": {
"h": 120,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.56442,
"c": 0.15886,
"h": 143.1
},
"luminance": 0.19504
}Semantic roles & 50–950 ramp
primary
#2D8C2D
secondary
#B460B4
accent
#4DDBDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A