#2B761F#2B761F
#2B761F is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.142 H 141.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2B761F |
|---|---|
| RGB | rgb(43, 118, 31) |
| HSL | hsl(112, 58%, 29%) |
| HSV | hsv(112, 74%, 46%) |
| CMYK | cmyk(63.6%, 0%, 73.7%, 53.7%) |
| CIE-LAB | lab(43.61, -40.38, 39.13) |
| CIE-LCH | lch(43.61, 56.23, 135.90°) |
| OKLab | oklab(50.05% -0.1104 0.0891) |
| OKLCH | oklch(50.05% 0.142 141.1) |
| XYZ | xyz(7.7216, 13.5687, 3.5082) |
| Luminance | 0.1357 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.06
Darkish Green
#287C37
ΔE00 4.24
Green
#008000
ΔE00 4.73
Dark Grass Green
#388004
ΔE00 5.26
Darkgreen
#006400
ΔE00 6.60
Forestgreen (CSS)
#228B22
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B761F #6A1F76
analogous
#57761F #2B761F #1F763F
triadic
#2B761F #1F2B76 #761F2B
tetradic
#2B761F #1F5776 #6A1F76 #763F1F
square
#2B761F #1F5776 #6A1F76 #763F1F
split-complementary
#2B761F #3F1F76 #761F57
monochromatic
#091806 #194612 #2B761F #3DA62C #55CD42
Accessibility & contrast
On white
5.65
#2B761F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#2B761F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B761F
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B761F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B761F | 1.00 | 5.65 | 3.71 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#1F7265
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2b761f; /* rgb */ color: rgb(43, 118, 31); /* oklch */ color: oklch(50.0% 0.142 141.1);
Tailwind
colors: {
custom: {
50: '#6e9e60',
500: '#2b761f',
950: '#000000',
},
}SCSS
$custom: #2b761f; $custom-light: #6e9e60; $custom-dark: #000000;
JSON
{
"hex": "#2b761f",
"rgb": {
"r": 43,
"g": 118,
"b": 31
},
"hsl": {
"h": 111.724,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.5005,
"c": 0.14182,
"h": 141.1
},
"luminance": 0.13569
}Semantic roles & 50–950 ramp
primary
#2B761F
secondary
#9C47AA
accent
#46E2CC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79