#2E6517#2E6517
#2E6517 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.123 H 138.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6517 |
|---|---|
| RGB | rgb(46, 101, 23) |
| HSL | hsl(102, 63%, 24%) |
| HSV | hsv(102, 77%, 40%) |
| CMYK | cmyk(54.5%, 0%, 77.2%, 60.4%) |
| CIE-LAB | lab(37.75, -33.33, 36.46) |
| CIE-LCH | lch(37.75, 49.39, 132.43°) |
| OKLab | oklab(45.23% -0.0921 0.0823) |
| OKLCH | oklch(45.23% 0.123 138.2) |
| XYZ | xyz(5.9348, 9.9496, 2.4182) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.77
Deep Green
#02590F
ΔE00 5.39
Forest Green
#2D5A27
ΔE00 5.79
Forest
#0B5509
ΔE00 5.94
Navy Green
#35530A
ΔE00 6.73
Camouflage Green
#4B6113
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6517 #4E1765
analogous
#556517 #2E6517 #176527
triadic
#2E6517 #172E65 #65172E
tetradic
#2E6517 #175565 #4E1765 #652717
square
#2E6517 #175565 #4E1765 #652717
split-complementary
#2E6517 #271765 #651755
monochromatic
#0B1906 #17330C #2E6517 #459722 #5BC92E
Accessibility & contrast
On white
7.02
#2E6517 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2E6517 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E6517
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6517 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6517 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C09
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#2A6156
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2e6517; /* rgb */ color: rgb(46, 101, 23); /* oklch */ color: oklch(45.2% 0.123 138.2);
Tailwind
colors: {
custom: {
50: '#6d915a',
500: '#2e6517',
950: '#000000',
},
}SCSS
$custom: #2e6517; $custom-light: #6d915a; $custom-dark: #000000;
JSON
{
"hex": "#2e6517",
"rgb": {
"r": 46,
"g": 101,
"b": 23
},
"hsl": {
"h": 102.308,
"s": 62.903,
"l": 24.314
},
"oklch": {
"l": 0.45229,
"c": 0.12345,
"h": 138.2
},
"luminance": 0.0995
}Semantic roles & 50–950 ramp
primary
#2E6517
secondary
#7F3C9B
accent
#42E6B6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79