#2B751B#2B751B
#2B751B is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.143 H 140.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2B751B |
|---|---|
| RGB | rgb(43, 117, 27) |
| HSL | hsl(109, 63%, 28%) |
| HSV | hsv(109, 77%, 46%) |
| CMYK | cmyk(63.2%, 0%, 76.9%, 54.1%) |
| CIE-LAB | lab(43.23, -40.33, 40.35) |
| CIE-LCH | lch(43.23, 57.05, 134.99°) |
| OKLab | oklab(49.73% -0.1105 0.091) |
| OKLCH | oklch(49.73% 0.143 140.5) |
| XYZ | xyz(7.5550, 13.3146, 3.2085) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.22
Green
#008000
ΔE00 4.76
Darkish Green
#287C37
ΔE00 4.83
Dark Grass Green
#388004
ΔE00 5.18
Darkgreen
#006400
ΔE00 6.24
Forestgreen (CSS)
#228B22
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B751B #651B75
analogous
#58751B #2B751B #1B7538
triadic
#2B751B #1B2B75 #751B2B
tetradic
#2B751B #1B5875 #651B75 #75381B
square
#2B751B #1B5875 #651B75 #75381B
split-complementary
#2B751B #381B75 #751B58
monochromatic
#091906 #194310 #2B751B #3DA726 #54D139
Accessibility & contrast
On white
5.73
#2B751B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#2B751B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B751B
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B751B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B751B | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A09
Deuteranopia (green-blind)
#6F6424
Tritanopia (blue-blind)
#207164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2b751b; /* rgb */ color: rgb(43, 117, 27); /* oklch */ color: oklch(49.7% 0.143 140.5);
Tailwind
colors: {
custom: {
50: '#6e9d5e',
500: '#2b751b',
950: '#000000',
},
}SCSS
$custom: #2b751b; $custom-light: #6e9d5e; $custom-dark: #000000;
JSON
{
"hex": "#2b751b",
"rgb": {
"r": 43,
"g": 117,
"b": 27
},
"hsl": {
"h": 109.333,
"s": 62.5,
"l": 28.235
},
"oklch": {
"l": 0.49731,
"c": 0.14317,
"h": 140.5
},
"luminance": 0.13315
}Semantic roles & 50–950 ramp
primary
#2B751B
secondary
#9742A9
accent
#42E6C9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79