#2E7316#2E7316
#2E7316 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.142 H 139.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7316 |
|---|---|
| RGB | rgb(46, 115, 22) |
| HSL | hsl(105, 68%, 27%) |
| HSV | hsv(105, 81%, 45%) |
| CMYK | cmyk(60%, 0%, 80.9%, 54.9%) |
| CIE-LAB | lab(42.61, -39.12, 41.61) |
| CIE-LCH | lch(42.61, 57.11, 133.23°) |
| OKLab | oklab(49.24% -0.1077 0.0929) |
| OKLCH | oklch(49.24% 0.142 139.2) |
| XYZ | xyz(7.4020, 12.8996, 2.8587) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.83
Green
#008000
ΔE00 5.26
Dark Grass Green
#388004
ΔE00 5.30
Darkish Green
#287C37
ΔE00 5.74
Darkgreen
#006400
ΔE00 5.81
Forestgreen (CSS)
#228B22
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7316 #5B1673
analogous
#5D7316 #2E7316 #16732D
triadic
#2E7316 #162E73 #73162E
tetradic
#2E7316 #165D73 #5B1673 #732D16
square
#2E7316 #165D73 #5B1673 #732D16
split-complementary
#2E7316 #2D1673 #73165D
monochromatic
#0A1A05 #19400C #2E7316 #43A620 #59D72D
Accessibility & contrast
On white
5.87
#2E7316 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2E7316 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7316
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7316 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7316 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#266F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2e7316; /* rgb */ color: rgb(46, 115, 22); /* oklch */ color: oklch(49.2% 0.142 139.2);
Tailwind
colors: {
custom: {
50: '#709c5b',
500: '#2e7316',
950: '#000000',
},
}SCSS
$custom: #2e7316; $custom-light: #709c5b; $custom-dark: #000000;
JSON
{
"hex": "#2e7316",
"rgb": {
"r": 46,
"g": 115,
"b": 22
},
"hsl": {
"h": 104.516,
"s": 67.883,
"l": 26.863
},
"oklch": {
"l": 0.49235,
"c": 0.14223,
"h": 139.2
},
"luminance": 0.129
}Semantic roles & 50–950 ramp
primary
#2E7316
secondary
#8D3CA9
accent
#3DEBBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79