#2B751E#2B751E
#2B751E is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.141 H 140.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2B751E |
|---|---|
| RGB | rgb(43, 117, 30) |
| HSL | hsl(111, 59%, 29%) |
| HSV | hsv(111, 74%, 46%) |
| CMYK | cmyk(63.2%, 0%, 74.4%, 54.1%) |
| CIE-LAB | lab(43.26, -40.08, 39.18) |
| CIE-LCH | lch(43.26, 56.05, 135.65°) |
| OKLab | oklab(49.76% -0.1096 0.089) |
| OKLCH | oklch(49.76% 0.141 140.9) |
| XYZ | xyz(7.5915, 13.3292, 3.4008) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.35
Darkish Green
#287C37
ΔE00 4.48
Green
#008000
ΔE00 4.95
Dark Grass Green
#388004
ΔE00 5.45
Darkgreen
#006400
ΔE00 6.29
Forestgreen (CSS)
#228B22
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B751E #681E75
analogous
#57751E #2B751E #1E753D
triadic
#2B751E #1E2B75 #751E2B
tetradic
#2B751E #1E5775 #681E75 #753D1E
square
#2B751E #1E5775 #681E75 #753D1E
split-complementary
#2B751E #3D1E75 #751E57
monochromatic
#091806 #194412 #2B751E #3DA62A #55CE40
Accessibility & contrast
On white
5.73
#2B751E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#2B751E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B751E
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B751E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B751E | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A10
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#207164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2b751e; /* rgb */ color: rgb(43, 117, 30); /* oklch */ color: oklch(49.8% 0.141 140.9);
Tailwind
colors: {
custom: {
50: '#6e9d60',
500: '#2b751e',
950: '#000000',
},
}SCSS
$custom: #2b751e; $custom-light: #6e9d60; $custom-dark: #000000;
JSON
{
"hex": "#2b751e",
"rgb": {
"r": 43,
"g": 117,
"b": 30
},
"hsl": {
"h": 111.034,
"s": 59.184,
"l": 28.824
},
"oklch": {
"l": 0.49756,
"c": 0.14121,
"h": 140.9
},
"luminance": 0.1333
}Semantic roles & 50–950 ramp
primary
#2B751E
secondary
#9A46A9
accent
#45E2CB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79