#2B7145#2B7145
#2B7145 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.100 H 153.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7145 |
|---|---|
| RGB | rgb(43, 113, 69) |
| HSL | hsl(142, 45%, 31%) |
| HSV | hsv(142, 62%, 44%) |
| CMYK | cmyk(61.9%, 0%, 38.9%, 55.7%) |
| CIE-LAB | lab(42.39, -32.78, 18.07) |
| CIE-LCH | lch(42.39, 37.43, 151.14°) |
| OKLab | oklab(49.21% -0.0888 0.0452) |
| OKLCH | oklch(49.21% 0.1 153) |
| XYZ | xyz(7.9749, 12.7528, 7.6703) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 6.26
Spruce
#0A5F38
ΔE00 6.47
Pine
#2B5D34
ΔE00 6.82
Jungle Green
#048243
ΔE00 6.87
Hunter Green
#355E3B
ΔE00 7.04
Dark Sea Green
#11875D
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7145 #712B57
analogous
#34712B #2B7145 #2B7168
triadic
#2B7145 #452B71 #71452B
tetradic
#2B7145 #2B3471 #712B57 #71682B
square
#2B7145 #2B3471 #712B57 #71682B
split-complementary
#2B7145 #682B71 #712B34
monochromatic
#09180F #1A452A #2B7145 #3C9D60 #57BF7E
Accessibility & contrast
On white
5.91
#2B7145 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#2B7145 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7145
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7145 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716842
Deuteranopia (green-blind)
#686148
Tritanopia (blue-blind)
#147066
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2b7145; /* rgb */ color: rgb(43, 113, 69); /* oklch */ color: oklch(49.2% 0.100 153.0);
Tailwind
colors: {
custom: {
50: '#6c9a79',
500: '#2b7145',
950: '#000000',
},
}SCSS
$custom: #2b7145; $custom-light: #6c9a79; $custom-dark: #000000;
JSON
{
"hex": "#2b7145",
"rgb": {
"r": 43,
"g": 113,
"b": 69
},
"hsl": {
"h": 142.286,
"s": 44.872,
"l": 30.588
},
"oklch": {
"l": 0.49206,
"c": 0.09967,
"h": 153
},
"luminance": 0.12754
}Semantic roles & 50–950 ramp
primary
#2B7145
secondary
#A35586
accent
#53A5D5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B