#2D8F2E#2D8F2E
#2D8F2E is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.162 H 143.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2D8F2E |
|---|---|
| RGB | rgb(45, 143, 46) |
| HSL | hsl(121, 52%, 37%) |
| HSV | hsv(121, 69%, 56%) |
| CMYK | cmyk(68.5%, 0%, 67.8%, 43.9%) |
| CIE-LAB | lab(52.29, -47.77, 41.96) |
| CIE-LCH | lch(52.29, 63.58, 138.71°) |
| OKLab | oklab(57.29% -0.1297 0.0969) |
| OKLCH | oklch(57.29% 0.162 143.2) |
| XYZ | xyz(11.3971, 20.3989, 5.9210) |
| Luminance | 0.2040 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.94
Emerald Green
#028F1E
ΔE00 2.24
Irish Green
#019529
ΔE00 2.60
Kelley Green
#009337
ΔE00 2.77
True Green
#089404
ΔE00 4.00
Fern Green
#548D44
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D8F2E #8F2D8E
analogous
#5D8F2D #2D8F2E #2D8F5F
triadic
#2D8F2E #2E2D8F #8F2E2D
tetradic
#2D8F2E #2D5D8F #8F2D8E #8F5F2D
square
#2D8F2E #2D5D8F #8F2D8E #8F5F2D
split-complementary
#2D8F2E #5F2D8F #8F2D5D
monochromatic
#103210 #1E601F #2D8F2E #3CBE3D #67CF68
Accessibility & contrast
On white
4.13
#2D8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#2D8F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D8F2E
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D8F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D8F2E | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928221
Deuteranopia (green-blind)
#867A37
Tritanopia (blue-blind)
#148B7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2d8f2e; /* rgb */ color: rgb(45, 143, 46); /* oklch */ color: oklch(57.3% 0.162 143.2);
Tailwind
colors: {
custom: {
50: '#74b16b',
500: '#2d8f2e',
950: '#000000',
},
}SCSS
$custom: #2d8f2e; $custom-light: #74b16b; $custom-dark: #000000;
JSON
{
"hex": "#2d8f2e",
"rgb": {
"r": 45,
"g": 143,
"b": 46
},
"hsl": {
"h": 120.612,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.57285,
"c": 0.16186,
"h": 143.2
},
"luminance": 0.204
}Semantic roles & 50–950 ramp
primary
#2D8F2E
secondary
#B662B5
accent
#4CDADC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A