#2D912A#2D912A
#2D912A is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.8% C 0.167 H 142.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2D912A |
|---|---|
| RGB | rgb(45, 145, 42) |
| HSL | hsl(118, 55%, 37%) |
| HSV | hsv(118, 71%, 57%) |
| CMYK | cmyk(69%, 0%, 71%, 43.1%) |
| CIE-LAB | lab(52.92, -48.89, 44.34) |
| CIE-LCH | lch(52.92, 66.00, 137.79°) |
| OKLab | oklab(57.8% -0.1329 0.1014) |
| OKLCH | oklch(57.8% 0.167 142.7) |
| XYZ | xyz(11.6248, 20.9746, 5.6259) |
| Luminance | 0.2098 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 2.11
Irish Green
#019529
ΔE00 2.13
Forestgreen (CSS)
#228B22
ΔE00 2.32
Kelley Green
#009337
ΔE00 3.06
True Green
#089404
ΔE00 3.19
Grass Green
#3F9B0B
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D912A #8E2A91
analogous
#61912A #2D912A #2A915B
triadic
#2D912A #2A2D91 #912A2D
tetradic
#2D912A #2A6191 #8E2A91 #915B2A
square
#2D912A #2A6191 #8E2A91 #915B2A
split-complementary
#2D912A #5B2A91 #912A61
monochromatic
#10320F #1E621C #2D912A #3CC038 #67D263
Accessibility & contrast
On white
4.04
#2D912A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#2D912A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D912A
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D912A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D912A | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94831A
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#148D7C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2d912a; /* rgb */ color: rgb(45, 145, 42); /* oklch */ color: oklch(57.8% 0.167 142.7);
Tailwind
colors: {
custom: {
50: '#75b269',
500: '#2d912a',
950: '#000000',
},
}SCSS
$custom: #2d912a; $custom-light: #75b269; $custom-dark: #000000;
JSON
{
"hex": "#2d912a",
"rgb": {
"r": 45,
"g": 145,
"b": 42
},
"hsl": {
"h": 118.252,
"s": 55.08,
"l": 36.667
},
"oklch": {
"l": 0.57802,
"c": 0.16717,
"h": 142.7
},
"luminance": 0.20976
}Semantic roles & 50–950 ramp
primary
#2D912A
secondary
#B55FB8
accent
#49DEDA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A