#2E8218#2E8218
#2E8218 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.159 H 140.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2E8218 |
|---|---|
| RGB | rgb(46, 130, 24) |
| HSL | hsl(108, 69%, 30%) |
| HSV | hsv(108, 82%, 51%) |
| CMYK | cmyk(64.6%, 0%, 81.5%, 49%) |
| CIE-LAB | lab(47.77, -44.67, 45.86) |
| CIE-LCH | lch(47.77, 64.02, 134.25°) |
| OKLab | oklab(53.5% -0.1225 0.1021) |
| OKLCH | oklch(53.5% 0.159 140.2) |
| XYZ | xyz(9.2738, 16.6112, 3.5815) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.55
Dark Grass Green
#388004
ΔE00 2.29
Green
#008000
ΔE00 2.60
Forestgreen (CSS)
#228B22
ΔE00 3.39
Emerald Green
#028F1E
ΔE00 4.91
Darkish Green
#287C37
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E8218 #6C1882
analogous
#638218 #2E8218 #188237
triadic
#2E8218 #182E82 #82182E
tetradic
#2E8218 #186382 #6C1882 #823718
square
#2E8218 #186382 #6C1882 #823718
split-complementary
#2E8218 #371882 #821863
monochromatic
#091B05 #1C4E0E #2E8218 #40B622 #5BDB3A
Accessibility & contrast
On white
4.86
#2E8218 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#2E8218 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E8218
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E8218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E8218 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#217E6E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #2e8218; /* rgb */ color: rgb(46, 130, 24); /* oklch */ color: oklch(53.5% 0.159 140.2);
Tailwind
colors: {
custom: {
50: '#73a75e',
500: '#2e8218',
950: '#000000',
},
}SCSS
$custom: #2e8218; $custom-light: #73a75e; $custom-dark: #000000;
JSON
{
"hex": "#2e8218",
"rgb": {
"r": 46,
"g": 130,
"b": 24
},
"hsl": {
"h": 107.547,
"s": 68.831,
"l": 30.196
},
"oklch": {
"l": 0.53501,
"c": 0.15948,
"h": 140.2
},
"luminance": 0.16612
}Semantic roles & 50–950 ramp
primary
#2E8218
secondary
#9E40B6
accent
#3CECC7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79