#2B741B#2B741B
#2B741B is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.142 H 140.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2B741B |
|---|---|
| RGB | rgb(43, 116, 27) |
| HSL | hsl(109, 62%, 28%) |
| HSV | hsv(109, 77%, 45%) |
| CMYK | cmyk(62.9%, 0%, 76.7%, 54.5%) |
| CIE-LAB | lab(42.89, -39.95, 40.00) |
| CIE-LCH | lch(42.89, 56.54, 134.96°) |
| OKLab | oklab(49.45% -0.1095 0.0903) |
| OKLCH | oklch(49.45% 0.142 140.5) |
| XYZ | xyz(7.4391, 13.0828, 3.1699) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.57
Darkish Green
#287C37
ΔE00 4.95
Green
#008000
ΔE00 5.06
Dark Grass Green
#388004
ΔE00 5.48
Darkgreen
#006400
ΔE00 5.95
Forestgreen (CSS)
#228B22
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B741B #641B74
analogous
#58741B #2B741B #1B7437
triadic
#2B741B #1B2B74 #741B2B
tetradic
#2B741B #1B5874 #641B74 #74371B
square
#2B741B #1B5874 #641B74 #74371B
split-complementary
#2B741B #371B74 #741B58
monochromatic
#091906 #19420F #2B741B #3DA627 #54D139
Accessibility & contrast
On white
5.81
#2B741B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#2B741B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B741B
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B741B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B741B | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77690A
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#217063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2b741b; /* rgb */ color: rgb(43, 116, 27); /* oklch */ color: oklch(49.4% 0.142 140.5);
Tailwind
colors: {
custom: {
50: '#6e9d5e',
500: '#2b741b',
950: '#000000',
},
}SCSS
$custom: #2b741b; $custom-light: #6e9d5e; $custom-dark: #000000;
JSON
{
"hex": "#2b741b",
"rgb": {
"r": 43,
"g": 116,
"b": 27
},
"hsl": {
"h": 109.213,
"s": 62.238,
"l": 28.039
},
"oklch": {
"l": 0.49445,
"c": 0.1419,
"h": 140.5
},
"luminance": 0.13084
}Semantic roles & 50–950 ramp
primary
#2B741B
secondary
#9642A9
accent
#42E5C8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79