#2D921F#2D921F
#2D921F is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.175 H 141.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2D921F |
|---|---|
| RGB | rgb(45, 146, 31) |
| HSL | hsl(113, 65%, 35%) |
| HSV | hsv(113, 79%, 57%) |
| CMYK | cmyk(69.2%, 0%, 78.8%, 42.7%) |
| CIE-LAB | lab(53.18, -50.13, 48.73) |
| CIE-LCH | lch(53.18, 69.91, 135.81°) |
| OKLab | oklab(57.99% -0.1368 0.1091) |
| OKLCH | oklch(57.99% 0.175 141.4) |
| XYZ | xyz(11.6078, 21.2134, 4.7789) |
| Luminance | 0.2122 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.08
Emerald Green
#028F1E
ΔE00 2.36
Irish Green
#019529
ΔE00 2.55
Forestgreen (CSS)
#228B22
ΔE00 2.83
Kelley Green
#009337
ΔE00 4.20
Grass Green
#3F9B0B
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D921F #841F92
analogous
#66921F #2D921F #1F924B
triadic
#2D921F #1F2D92 #921F2D
tetradic
#2D921F #1F6692 #841F92 #924B1F
square
#2D921F #1F6692 #841F92 #924B1F
split-complementary
#2D921F #4B1F92 #921F66
monochromatic
#0E2D0A #1D6014 #2D921F #3DC42A #62DA51
Accessibility & contrast
On white
4.01
#2D921F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#2D921F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D921F
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D921F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D921F | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#178D7C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2d921f; /* rgb */ color: rgb(45, 146, 31); /* oklch */ color: oklch(58.0% 0.175 141.4);
Tailwind
colors: {
custom: {
50: '#75b364',
500: '#2d921f',
950: '#000000',
},
}SCSS
$custom: #2d921f; $custom-light: #75b364; $custom-dark: #000000;
JSON
{
"hex": "#2d921f",
"rgb": {
"r": 45,
"g": 146,
"b": 31
},
"hsl": {
"h": 112.696,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.57994,
"c": 0.17499,
"h": 141.4
},
"luminance": 0.21215
}Semantic roles & 50–950 ramp
primary
#2D921F
secondary
#B050BD
accent
#40E8D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A