#2E7045#2E7045
#2E7045 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.097 H 152.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7045 |
|---|---|
| RGB | rgb(46, 112, 69) |
| HSL | hsl(141, 42%, 31%) |
| HSV | hsv(141, 59%, 44%) |
| CMYK | cmyk(58.9%, 0%, 38.4%, 56.1%) |
| CIE-LAB | lab(42.15, -31.58, 17.77) |
| CIE-LCH | lch(42.15, 36.24, 150.63°) |
| OKLab | oklab(49.04% -0.0857 0.0445) |
| OKLCH | oklch(49.04% 0.097 152.6) |
| XYZ | xyz(7.9945, 12.5981, 7.6395) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.31
Pine
#2B5D34
ΔE00 6.45
Hunter Green
#355E3B
ΔE00 6.58
Darkish Green
#287C37
ΔE00 6.59
Jungle Green
#048243
ΔE00 7.34
Forest Green
#2D5A27
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7045 #702E59
analogous
#38702E #2E7045 #2E7066
triadic
#2E7045 #452E70 #70452E
tetradic
#2E7045 #2E3870 #702E59 #70662E
square
#2E7045 #2E3870 #702E59 #70662E
split-complementary
#2E7045 #662E70 #702E38
monochromatic
#0A1910 #1C452A #2E7045 #409B60 #5CBC7E
Accessibility & contrast
On white
5.97
#2E7045 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#2E7045 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7045
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7045 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7045 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706742
Deuteranopia (green-blind)
#676148
Tritanopia (blue-blind)
#1B6F65
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2e7045; /* rgb */ color: rgb(46, 112, 69); /* oklch */ color: oklch(49.0% 0.097 152.6);
Tailwind
colors: {
custom: {
50: '#6d9a79',
500: '#2e7045',
950: '#000000',
},
}SCSS
$custom: #2e7045; $custom-light: #6d9a79; $custom-dark: #000000;
JSON
{
"hex": "#2e7045",
"rgb": {
"r": 46,
"g": 112,
"b": 69
},
"hsl": {
"h": 140.909,
"s": 41.772,
"l": 30.98
},
"oklch": {
"l": 0.49041,
"c": 0.09654,
"h": 152.6
},
"luminance": 0.12599
}Semantic roles & 50–950 ramp
primary
#2E7045
secondary
#A15888
accent
#56A7D2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B