#2B931F#2B931F
#2B931F is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.2% C 0.177 H 141.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2B931F |
|---|---|
| RGB | rgb(43, 147, 31) |
| HSL | hsl(114, 65%, 35%) |
| HSV | hsv(114, 79%, 58%) |
| CMYK | cmyk(70.7%, 0%, 78.9%, 42.4%) |
| CIE-LAB | lab(53.47, -50.88, 48.99) |
| CIE-LCH | lch(53.47, 70.63, 136.08°) |
| OKLab | oklab(58.22% -0.1387 0.1096) |
| OKLCH | oklch(58.22% 0.177 141.7) |
| XYZ | xyz(11.6767, 21.4787, 4.8265) |
| Luminance | 0.2148 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.92
Irish Green
#019529
ΔE00 2.37
Emerald Green
#028F1E
ΔE00 2.44
Forestgreen (CSS)
#228B22
ΔE00 3.09
Grass Green
#3F9B0B
ΔE00 4.07
Kelley Green
#009337
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B931F #871F93
analogous
#65931F #2B931F #1F934D
triadic
#2B931F #1F2B93 #931F2B
tetradic
#2B931F #1F6593 #871F93 #934D1F
square
#2B931F #1F6593 #871F93 #934D1F
split-complementary
#2B931F #4D1F93 #931F65
monochromatic
#0D2E0A #1C6014 #2B931F #3AC62A #60DA52
Accessibility & contrast
On white
3.97
#2B931F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#2B931F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2B931F
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B931F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2B931F | 1.00 | 3.97 | 5.30 | 5.30 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#118E7D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #2b931f; /* rgb */ color: rgb(43, 147, 31); /* oklch */ color: oklch(58.2% 0.177 141.7);
Tailwind
colors: {
custom: {
50: '#75b464',
500: '#2b931f',
950: '#000000',
},
}SCSS
$custom: #2b931f; $custom-light: #75b464; $custom-dark: #000000;
JSON
{
"hex": "#2b931f",
"rgb": {
"r": 43,
"g": 147,
"b": 31
},
"hsl": {
"h": 113.793,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.58218,
"c": 0.17683,
"h": 141.7
},
"luminance": 0.2148
}Semantic roles & 50–950 ramp
primary
#2B931F
secondary
#B250BE
accent
#40E8D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A