#2E6F17#2E6F17
#2E6F17 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.137 H 139.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6F17 |
|---|---|
| RGB | rgb(46, 111, 23) |
| HSL | hsl(104, 66%, 26%) |
| HSV | hsv(104, 79%, 44%) |
| CMYK | cmyk(58.6%, 0%, 79.3%, 56.5%) |
| CIE-LAB | lab(41.23, -37.46, 39.92) |
| CIE-LCH | lch(41.23, 54.74, 133.18°) |
| OKLab | oklab(48.1% -0.1032 0.0895) |
| OKLCH | oklch(48.1% 0.137 139.1) |
| XYZ | xyz(6.9655, 12.0110, 2.7617) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.80
Tree Green
#2A7E19
ΔE00 5.22
Darkish Green
#287C37
ΔE00 6.30
Green
#008000
ΔE00 6.57
Dark Grass Green
#388004
ΔE00 6.64
Darkolivegreen
#556B2F
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6F17 #58176F
analogous
#5A6F17 #2E6F17 #176F2C
triadic
#2E6F17 #172E6F #6F172E
tetradic
#2E6F17 #175A6F #58176F #6F2C17
square
#2E6F17 #175A6F #58176F #6F2C17
split-complementary
#2E6F17 #2C176F #6F175A
monochromatic
#0B1905 #193C0C #2E6F17 #43A222 #58D32D
Accessibility & contrast
On white
6.17
#2E6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#2E6F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E6F17
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6F17 | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726504
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#276B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2e6f17; /* rgb */ color: rgb(46, 111, 23); /* oklch */ color: oklch(48.1% 0.137 139.1);
Tailwind
colors: {
custom: {
50: '#6f995b',
500: '#2e6f17',
950: '#000000',
},
}SCSS
$custom: #2e6f17; $custom-light: #6f995b; $custom-dark: #000000;
JSON
{
"hex": "#2e6f17",
"rgb": {
"r": 46,
"g": 111,
"b": 23
},
"hsl": {
"h": 104.318,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.48099,
"c": 0.13658,
"h": 139.1
},
"luminance": 0.12012
}Semantic roles & 50–950 ramp
primary
#2E6F17
secondary
#8A3DA5
accent
#3FE9BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79