#2B7045#2B7045
#2B7045 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.9% C 0.098 H 153.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7045 |
|---|---|
| RGB | rgb(43, 112, 69) |
| HSL | hsl(143, 45%, 30%) |
| HSV | hsv(143, 62%, 44%) |
| CMYK | cmyk(61.6%, 0%, 38.4%, 56.1%) |
| CIE-LAB | lab(42.05, -32.33, 17.62) |
| CIE-LCH | lch(42.05, 36.82, 151.42°) |
| OKLab | oklab(48.93% -0.0877 0.0441) |
| OKLCH | oklch(48.93% 0.098 153.3) |
| XYZ | xyz(7.8640, 12.5309, 7.6333) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.15
Pine
#2B5D34
ΔE00 6.51
Darkish Green
#287C37
ΔE00 6.63
Hunter Green
#355E3B
ΔE00 6.70
Jungle Green
#048243
ΔE00 7.26
Forest Green
#2D5A27
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7045 #702B56
analogous
#33702B #2B7045 #2B7067
triadic
#2B7045 #452B70 #70452B
tetradic
#2B7045 #2B3370 #702B56 #70672B
square
#2B7045 #2B3370 #702B56 #70672B
split-complementary
#2B7045 #672B70 #702B33
monochromatic
#09180F #1A442A #2B7045 #3C9C60 #57BE7E
Accessibility & contrast
On white
5.99
#2B7045 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#2B7045 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B7045
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7045 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B7045 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706742
Deuteranopia (green-blind)
#676148
Tritanopia (blue-blind)
#156F65
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2b7045; /* rgb */ color: rgb(43, 112, 69); /* oklch */ color: oklch(48.9% 0.098 153.3);
Tailwind
colors: {
custom: {
50: '#6c9a79',
500: '#2b7045',
950: '#000000',
},
}SCSS
$custom: #2b7045; $custom-light: #6c9a79; $custom-dark: #000000;
JSON
{
"hex": "#2b7045",
"rgb": {
"r": 43,
"g": 112,
"b": 69
},
"hsl": {
"h": 142.609,
"s": 44.516,
"l": 30.392
},
"oklch": {
"l": 0.48926,
"c": 0.09813,
"h": 153.3
},
"luminance": 0.12532
}Semantic roles & 50–950 ramp
primary
#2B7045
secondary
#A25585
accent
#54A4D4
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B