#2B791B#2B791B
#2B791B is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.148 H 140.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2B791B |
|---|---|
| RGB | rgb(43, 121, 27) |
| HSL | hsl(110, 64%, 29%) |
| HSV | hsv(110, 78%, 47%) |
| CMYK | cmyk(64.5%, 0%, 77.7%, 52.5%) |
| CIE-LAB | lab(44.61, -41.86, 41.73) |
| CIE-LCH | lch(44.61, 59.10, 135.09°) |
| OKLab | oklab(50.87% -0.1146 0.0939) |
| OKLCH | oklch(50.87% 0.148 140.7) |
| XYZ | xyz(8.0311, 14.2667, 3.3672) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.82
Green
#008000
ΔE00 3.61
Dark Grass Green
#388004
ΔE00 4.06
Darkish Green
#287C37
ΔE00 4.59
Forestgreen (CSS)
#228B22
ΔE00 6.36
Darkgreen
#006400
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B791B #691B79
analogous
#5A791B #2B791B #1B793A
triadic
#2B791B #1B2B79 #791B2B
tetradic
#2B791B #1B5A79 #691B79 #793A1B
square
#2B791B #1B5A79 #691B79 #793A1B
split-complementary
#2B791B #3A1B79 #791B5A
monochromatic
#091906 #194710 #2B791B #3DAB26 #55D33B
Accessibility & contrast
On white
5.45
#2B791B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#2B791B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B791B
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B791B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B791B | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D07
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#1F7567
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #2b791b; /* rgb */ color: rgb(43, 121, 27); /* oklch */ color: oklch(50.9% 0.148 140.7);
Tailwind
colors: {
custom: {
50: '#6fa05f',
500: '#2b791b',
950: '#000000',
},
}SCSS
$custom: #2b791b; $custom-light: #6fa05f; $custom-dark: #000000;
JSON
{
"hex": "#2b791b",
"rgb": {
"r": 43,
"g": 121,
"b": 27
},
"hsl": {
"h": 109.787,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.50872,
"c": 0.14816,
"h": 140.7
},
"luminance": 0.14267
}Semantic roles & 50–950 ramp
primary
#2B791B
secondary
#9B43AD
accent
#41E7CA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79