#2B7040#2B7040
#2B7040 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.8% C 0.103 H 150.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7040 |
|---|---|
| RGB | rgb(43, 112, 64) |
| HSL | hsl(138, 45%, 30%) |
| HSV | hsv(138, 62%, 44%) |
| CMYK | cmyk(61.6%, 0%, 42.9%, 56.1%) |
| CIE-LAB | lab(41.96, -33.32, 20.38) |
| CIE-LCH | lch(41.96, 39.06, 148.55°) |
| OKLab | oklab(48.82% -0.0901 0.0505) |
| OKLCH | oklch(48.82% 0.103 150.7) |
| XYZ | xyz(7.7153, 12.4714, 6.8501) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.64
Spruce
#0A5F38
ΔE00 6.41
Pine
#2B5D34
ΔE00 6.44
Jungle Green
#048243
ΔE00 6.80
Hunter Green
#355E3B
ΔE00 6.92
Forest Green
#2D5A27
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7040 #702B5B
analogous
#38702B #2B7040 #2B7062
triadic
#2B7040 #402B70 #70402B
tetradic
#2B7040 #2B3870 #702B5B #70622B
square
#2B7040 #2B3870 #702B5B #70622B
split-complementary
#2B7040 #622B70 #702B38
monochromatic
#09180D #1A4427 #2B7040 #3C9C59 #57BE76
Accessibility & contrast
On white
6.01
#2B7040 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#2B7040 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7040
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7040 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71673D
Deuteranopia (green-blind)
#676043
Tritanopia (blue-blind)
#176E64
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2b7040; /* rgb */ color: rgb(43, 112, 64); /* oklch */ color: oklch(48.8% 0.103 150.7);
Tailwind
colors: {
custom: {
50: '#6c9a75',
500: '#2b7040',
950: '#000000',
},
}SCSS
$custom: #2b7040; $custom-light: #6c9a75; $custom-dark: #000000;
JSON
{
"hex": "#2b7040",
"rgb": {
"r": 43,
"g": 112,
"b": 64
},
"hsl": {
"h": 138.261,
"s": 44.516,
"l": 30.392
},
"oklch": {
"l": 0.48821,
"c": 0.10334,
"h": 150.7
},
"luminance": 0.12472
}Semantic roles & 50–950 ramp
primary
#2B7040
secondary
#A2558A
accent
#54ADD4
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B