#2E7515#2E7515
#2E7515 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.145 H 139.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7515 |
|---|---|
| RGB | rgb(46, 117, 21) |
| HSL | hsl(104, 70%, 27%) |
| HSV | hsv(104, 82%, 46%) |
| CMYK | cmyk(60.7%, 0%, 82.1%, 54.1%) |
| CIE-LAB | lab(43.30, -39.96, 42.61) |
| CIE-LCH | lch(43.30, 58.41, 133.17°) |
| OKLab | oklab(49.8% -0.11 0.0948) |
| OKLCH | oklch(49.8% 0.145 139.3) |
| XYZ | xyz(7.6230, 13.3569, 2.8857) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.14
Dark Grass Green
#388004
ΔE00 4.61
Green
#008000
ΔE00 4.61
Darkish Green
#287C37
ΔE00 5.62
Darkgreen
#006400
ΔE00 6.38
Forestgreen (CSS)
#228B22
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7515 #5C1575
analogous
#5E7515 #2E7515 #15752C
triadic
#2E7515 #152E75 #75152E
tetradic
#2E7515 #155E75 #5C1575 #752C15
square
#2E7515 #155E75 #5C1575 #752C15
split-complementary
#2E7515 #2C1575 #75155E
monochromatic
#0A1A05 #1A410C #2E7515 #42A91E #59D92B
Accessibility & contrast
On white
5.72
#2E7515 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#2E7515 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7515
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7515 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7515 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#267163
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2e7515; /* rgb */ color: rgb(46, 117, 21); /* oklch */ color: oklch(49.8% 0.145 139.3);
Tailwind
colors: {
custom: {
50: '#709d5b',
500: '#2e7515',
950: '#000000',
},
}SCSS
$custom: #2e7515; $custom-light: #709d5b; $custom-dark: #000000;
JSON
{
"hex": "#2e7515",
"rgb": {
"r": 46,
"g": 117,
"b": 21
},
"hsl": {
"h": 104.375,
"s": 69.565,
"l": 27.059
},
"oklch": {
"l": 0.49799,
"c": 0.14525,
"h": 139.3
},
"luminance": 0.13358
}Semantic roles & 50–950 ramp
primary
#2E7515
secondary
#8E3BAB
accent
#3BECBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79