#2E7017#2E7017
#2E7017 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.138 H 139.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7017 |
|---|---|
| RGB | rgb(46, 112, 23) |
| HSL | hsl(104, 66%, 26%) |
| HSV | hsv(104, 79%, 44%) |
| CMYK | cmyk(58.9%, 0%, 79.5%, 56.1%) |
| CIE-LAB | lab(41.58, -37.86, 40.25) |
| CIE-LCH | lch(41.58, 55.26, 133.24°) |
| OKLab | oklab(48.39% -0.1043 0.0902) |
| OKLCH | oklch(48.39% 0.138 139.1) |
| XYZ | xyz(7.0753, 12.2304, 2.7983) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.87
Darkgreen
#006400
ΔE00 5.03
Darkish Green
#287C37
ΔE00 6.12
Green
#008000
ΔE00 6.25
Dark Grass Green
#388004
ΔE00 6.32
Darkolivegreen
#556B2F
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7017 #591770
analogous
#5B7017 #2E7017 #17702D
triadic
#2E7017 #172E70 #70172E
tetradic
#2E7017 #175B70 #591770 #702D17
square
#2E7017 #175B70 #591770 #702D17
split-complementary
#2E7017 #2D1770 #70175B
monochromatic
#0A1905 #193D0D #2E7017 #43A321 #58D42D
Accessibility & contrast
On white
6.09
#2E7017 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#2E7017 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7017
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7017 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#276C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2e7017; /* rgb */ color: rgb(46, 112, 23); /* oklch */ color: oklch(48.4% 0.138 139.1);
Tailwind
colors: {
custom: {
50: '#6f9a5b',
500: '#2e7017',
950: '#000000',
},
}SCSS
$custom: #2e7017; $custom-light: #6f9a5b; $custom-dark: #000000;
JSON
{
"hex": "#2e7017",
"rgb": {
"r": 46,
"g": 112,
"b": 23
},
"hsl": {
"h": 104.494,
"s": 65.926,
"l": 26.471
},
"oklch": {
"l": 0.48385,
"c": 0.13786,
"h": 139.1
},
"luminance": 0.12231
}Semantic roles & 50–950 ramp
primary
#2E7017
secondary
#8B3DA6
accent
#3FE9BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79