#2E6540#2E6540
#2E6540 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.9% C 0.084 H 152.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6540 |
|---|---|
| RGB | rgb(46, 101, 64) |
| HSL | hsl(140, 37%, 29%) |
| HSV | hsv(140, 54%, 40%) |
| CMYK | cmyk(54.5%, 0%, 36.6%, 60.4%) |
| CIE-LAB | lab(38.30, -27.46, 15.55) |
| CIE-LCH | lch(38.30, 31.56, 150.47°) |
| OKLab | oklab(45.86% -0.0747 0.0391) |
| OKLCH | oklch(45.86% 0.084 152.4) |
| XYZ | xyz(6.7053, 10.2578, 6.4761) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 3.00
Pine
#2B5D34
ΔE00 3.15
Spruce
#0A5F38
ΔE00 3.84
Forest Green
#2D5A27
ΔE00 5.99
Dark Green Blue
#1F6357
ΔE00 9.37
Deep Green
#02590F
ΔE00 9.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6540 #652E53
analogous
#38652E #2E6540 #2E655C
triadic
#2E6540 #402E65 #65402E
tetradic
#2E6540 #2E3865 #652E53 #655C2E
square
#2E6540 #2E3865 #652E53 #655C2E
split-complementary
#2E6540 #5C2E65 #652E38
monochromatic
#0A150D #1B3B25 #2E6540 #418F5B #5AB477
Accessibility & contrast
On white
6.88
#2E6540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2E6540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6540
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6540 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655D3E
Deuteranopia (green-blind)
#5D5842
Tritanopia (blue-blind)
#21645B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2e6540; /* rgb */ color: rgb(46, 101, 64); /* oklch */ color: oklch(45.9% 0.084 152.4);
Tailwind
colors: {
custom: {
50: '#6b9175',
500: '#2e6540',
950: '#000000',
},
}SCSS
$custom: #2e6540; $custom-light: #6b9175; $custom-dark: #000000;
JSON
{
"hex": "#2e6540",
"rgb": {
"r": 46,
"g": 101,
"b": 64
},
"hsl": {
"h": 139.636,
"s": 37.415,
"l": 28.824
},
"oklch": {
"l": 0.45859,
"c": 0.08427,
"h": 152.4
},
"luminance": 0.10258
}Semantic roles & 50–950 ramp
primary
#2E6540
secondary
#975882
accent
#5AA8CD
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070D08
muted
#7A7D7B