#2E6E17#2E6E17
#2E6E17 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.135 H 139.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6E17 |
|---|---|
| RGB | rgb(46, 110, 23) |
| HSL | hsl(104, 65%, 26%) |
| HSV | hsv(104, 79%, 43%) |
| CMYK | cmyk(58.2%, 0%, 79.1%, 56.9%) |
| CIE-LAB | lab(40.89, -37.06, 39.58) |
| CIE-LCH | lch(40.89, 54.22, 133.12°) |
| OKLab | oklab(47.81% -0.1021 0.0888) |
| OKLCH | oklch(47.81% 0.135 139) |
| XYZ | xyz(6.8570, 11.7940, 2.7256) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.58
Tree Green
#2A7E19
ΔE00 5.56
Darkish Green
#287C37
ΔE00 6.50
Green
#008000
ΔE00 6.90
Dark Grass Green
#388004
ΔE00 6.97
Deep Green
#02590F
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6E17 #57176E
analogous
#596E17 #2E6E17 #176E2B
triadic
#2E6E17 #172E6E #6E172E
tetradic
#2E6E17 #17596E #57176E #6E2B17
square
#2E6E17 #17596E #57176E #6E2B17
split-complementary
#2E6E17 #2B176E #6E1759
monochromatic
#0B1905 #193B0C #2E6E17 #43A122 #58D32C
Accessibility & contrast
On white
6.25
#2E6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#2E6E17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6E17
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6E17 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716405
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#286A5D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2e6e17; /* rgb */ color: rgb(46, 110, 23); /* oklch */ color: oklch(47.8% 0.135 139.0);
Tailwind
colors: {
custom: {
50: '#6f985b',
500: '#2e6e17',
950: '#000000',
},
}SCSS
$custom: #2e6e17; $custom-light: #6f985b; $custom-dark: #000000;
JSON
{
"hex": "#2e6e17",
"rgb": {
"r": 46,
"g": 110,
"b": 23
},
"hsl": {
"h": 104.138,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.47813,
"c": 0.1353,
"h": 139
},
"luminance": 0.11795
}Semantic roles & 50–950 ramp
primary
#2E6E17
secondary
#893DA4
accent
#3FE8BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79