#2B781E#2B781E
#2B781E is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.145 H 141.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2B781E |
|---|---|
| RGB | rgb(43, 120, 30) |
| HSL | hsl(111, 60%, 29%) |
| HSV | hsv(111, 75%, 47%) |
| CMYK | cmyk(64.2%, 0%, 75%, 52.9%) |
| CIE-LAB | lab(44.29, -41.23, 40.24) |
| CIE-LCH | lch(44.29, 57.61, 135.70°) |
| OKLab | oklab(50.61% -0.1127 0.0912) |
| OKLCH | oklch(50.61% 0.145 141) |
| XYZ | xyz(7.9467, 14.0395, 3.5192) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.32
Green
#008000
ΔE00 4.08
Darkish Green
#287C37
ΔE00 4.23
Dark Grass Green
#388004
ΔE00 4.61
Forestgreen (CSS)
#228B22
ΔE00 6.73
Darkgreen
#006400
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B781E #6B1E78
analogous
#58781E #2B781E #1E783E
triadic
#2B781E #1E2B78 #781E2B
tetradic
#2B781E #1E5878 #6B1E78 #783E1E
square
#2B781E #1E5878 #6B1E78 #783E1E
split-complementary
#2B781E #3E1E78 #781E58
monochromatic
#091806 #194712 #2B781E #3DA92A #56CF41
Accessibility & contrast
On white
5.51
#2B781E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#2B781E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B781E
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B781E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B781E | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6D0E
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#1F7466
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #2b781e; /* rgb */ color: rgb(43, 120, 30); /* oklch */ color: oklch(50.6% 0.145 141.0);
Tailwind
colors: {
custom: {
50: '#6fa060',
500: '#2b781e',
950: '#000000',
},
}SCSS
$custom: #2b781e; $custom-light: #6fa060; $custom-dark: #000000;
JSON
{
"hex": "#2b781e",
"rgb": {
"r": 43,
"g": 120,
"b": 30
},
"hsl": {
"h": 111.333,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.50611,
"c": 0.14504,
"h": 141
},
"luminance": 0.1404
}Semantic roles & 50–950 ramp
primary
#2B781E
secondary
#9D46AC
accent
#45E3CC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79