#2E7218#2E7218
#2E7218 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.140 H 139.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7218 |
|---|---|
| RGB | rgb(46, 114, 24) |
| HSL | hsl(105, 65%, 27%) |
| HSV | hsv(105, 79%, 45%) |
| CMYK | cmyk(59.6%, 0%, 78.9%, 55.3%) |
| CIE-LAB | lab(42.28, -38.58, 40.57) |
| CIE-LCH | lch(42.28, 55.99, 133.56°) |
| OKLab | oklab(48.96% -0.1061 0.091) |
| OKLCH | oklch(48.96% 0.14 139.4) |
| XYZ | xyz(7.3086, 12.6808, 2.9265) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.20
Darkgreen
#006400
ΔE00 5.54
Green
#008000
ΔE00 5.64
Darkish Green
#287C37
ΔE00 5.68
Dark Grass Green
#388004
ΔE00 5.74
Darkolivegreen
#556B2F
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7218 #5C1872
analogous
#5B7218 #2E7218 #18722F
triadic
#2E7218 #182E72 #72182E
tetradic
#2E7218 #185B72 #5C1872 #722F18
square
#2E7218 #185B72 #5C1872 #722F18
split-complementary
#2E7218 #2F1872 #72185B
monochromatic
#0A1905 #1A3F0D #2E7218 #42A523 #59D431
Accessibility & contrast
On white
5.94
#2E7218 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2E7218 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7218
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7218 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#266E61
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2e7218; /* rgb */ color: rgb(46, 114, 24); /* oklch */ color: oklch(49.0% 0.140 139.4);
Tailwind
colors: {
custom: {
50: '#6f9b5c',
500: '#2e7218',
950: '#000000',
},
}SCSS
$custom: #2e7218; $custom-light: #6f9b5c; $custom-dark: #000000;
JSON
{
"hex": "#2e7218",
"rgb": {
"r": 46,
"g": 114,
"b": 24
},
"hsl": {
"h": 105.333,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.48964,
"c": 0.13982,
"h": 139.4
},
"luminance": 0.12681
}Semantic roles & 50–950 ramp
primary
#2E7218
secondary
#8E3EA7
accent
#40E8BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79