#118E18#118E18
#118E18 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.181 H 143.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #118E18 |
|---|---|
| RGB | rgb(17, 142, 24) |
| HSL | hsl(123, 79%, 31%) |
| HSV | hsv(123, 88%, 56%) |
| CMYK | cmyk(88%, 0%, 83.1%, 44.3%) |
| CIE-LAB | lab(51.30, -53.51, 48.98) |
| CIE-LCH | lch(51.30, 72.55, 137.53°) |
| OKLab | oklab(56.28% -0.145 0.1088) |
| OKLCH | oklch(56.28% 0.181 143.1) |
| XYZ | xyz(10.0684, 19.5298, 4.1030) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.82
Forestgreen (CSS)
#228B22
ΔE00 1.53
True Green
#089404
ΔE00 2.50
Irish Green
#019529
ΔE00 2.84
Kelley Green
#009337
ΔE00 4.05
Green
#008000
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#118E18 #8E1187
analogous
#488E11 #118E18 #118E56
triadic
#118E18 #18118E #8E1811
tetradic
#118E18 #11488E #8E1187 #8E5611
square
#118E18 #11488E #8E1187 #8E5611
split-complementary
#118E18 #56118E #8E1148
monochromatic
#042106 #0A570F #118E18 #18C521 #33E73D
Accessibility & contrast
On white
4.28
#118E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#118E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #118E18
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##118E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##118E18 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #118e18; /* rgb */ color: rgb(17, 142, 24); /* oklch */ color: oklch(56.3% 0.181 143.1);
Tailwind
colors: {
custom: {
50: '#6cb060',
500: '#118e18',
950: '#000000',
},
}SCSS
$custom: #118e18; $custom-light: #6cb060; $custom-dark: #000000;
JSON
{
"hex": "#118e18",
"rgb": {
"r": 17,
"g": 142,
"b": 24
},
"hsl": {
"h": 123.36,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.56277,
"c": 0.18126,
"h": 143.1
},
"luminance": 0.19531
}Semantic roles & 50–950 ramp
primary
#118E18
secondary
#C238BB
accent
#33EAF5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A