#2B921F#2B921F
#2B921F is a mid, vivid green. Relative luminance 0.212; OKLCH L 57.9% C 0.176 H 141.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2B921F |
|---|---|
| RGB | rgb(43, 146, 31) |
| HSL | hsl(114, 65%, 35%) |
| HSV | hsv(114, 79%, 57%) |
| CMYK | cmyk(70.5%, 0%, 78.8%, 42.7%) |
| CIE-LAB | lab(53.13, -50.54, 48.67) |
| CIE-LCH | lch(53.13, 70.16, 136.08°) |
| OKLab | oklab(57.94% -0.1378 0.109) |
| OKLCH | oklch(57.94% 0.176 141.7) |
| XYZ | xyz(11.5218, 21.1691, 4.7749) |
| Luminance | 0.2117 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.02
Emerald Green
#028F1E
ΔE00 2.22
Irish Green
#019529
ΔE00 2.42
Forestgreen (CSS)
#228B22
ΔE00 2.76
Kelley Green
#009337
ΔE00 4.09
Grass Green
#3F9B0B
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B921F #861F92
analogous
#65921F #2B921F #1F924C
triadic
#2B921F #1F2B92 #921F2B
tetradic
#2B921F #1F6592 #861F92 #924C1F
square
#2B921F #1F6592 #861F92 #924C1F
split-complementary
#2B921F #4C1F92 #921F65
monochromatic
#0D2D0A #1C6014 #2B921F #3AC42A #60DA51
Accessibility & contrast
On white
4.01
#2B921F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#2B921F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2B921F
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B921F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2B921F | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#118D7C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2b921f; /* rgb */ color: rgb(43, 146, 31); /* oklch */ color: oklch(57.9% 0.176 141.7);
Tailwind
colors: {
custom: {
50: '#74b364',
500: '#2b921f',
950: '#000000',
},
}SCSS
$custom: #2b921f; $custom-light: #74b364; $custom-dark: #000000;
JSON
{
"hex": "#2b921f",
"rgb": {
"r": 43,
"g": 146,
"b": 31
},
"hsl": {
"h": 113.739,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.5794,
"c": 0.17569,
"h": 141.7
},
"luminance": 0.2117
}Semantic roles & 50–950 ramp
primary
#2B921F
secondary
#B250BD
accent
#40E8D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A