#2B7520#2B7520
#2B7520 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.140 H 141.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7520 |
|---|---|
| RGB | rgb(43, 117, 32) |
| HSL | hsl(112, 57%, 29%) |
| HSV | hsv(112, 73%, 46%) |
| CMYK | cmyk(63.2%, 0%, 72.6%, 54.1%) |
| CIE-LAB | lab(43.27, -39.90, 38.36) |
| CIE-LCH | lch(43.27, 55.35, 136.13°) |
| OKLab | oklab(49.77% -0.109 0.0876) |
| OKLCH | oklch(49.77% 0.14 141.2) |
| XYZ | xyz(7.6179, 13.3397, 3.5396) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.47
Darkish Green
#287C37
ΔE00 4.23
Green
#008000
ΔE00 5.10
Dark Grass Green
#388004
ΔE00 5.65
Darkgreen
#006400
ΔE00 6.34
Jungle Green
#048243
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7520 #6A2075
analogous
#567520 #2B7520 #207540
triadic
#2B7520 #202B75 #75202B
tetradic
#2B7520 #205675 #6A2075 #754020
square
#2B7520 #205675 #6A2075 #754020
split-complementary
#2B7520 #402075 #752056
monochromatic
#091807 #194513 #2B7520 #3DA52D #55CC44
Accessibility & contrast
On white
5.73
#2B7520 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#2B7520 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7520
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7520 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7520 | 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)
#786A13
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#207164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2b7520; /* rgb */ color: rgb(43, 117, 32); /* oklch */ color: oklch(49.8% 0.140 141.2);
Tailwind
colors: {
custom: {
50: '#6e9d61',
500: '#2b7520',
950: '#000000',
},
}SCSS
$custom: #2b7520; $custom-light: #6e9d61; $custom-dark: #000000;
JSON
{
"hex": "#2b7520",
"rgb": {
"r": 43,
"g": 117,
"b": 32
},
"hsl": {
"h": 112.235,
"s": 57.047,
"l": 29.216
},
"oklch": {
"l": 0.49774,
"c": 0.13984,
"h": 141.2
},
"luminance": 0.1334
}Semantic roles & 50–950 ramp
primary
#2B7520
secondary
#9C48A8
accent
#47E0CD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79