#118E1C#118E1C
#118E1C is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.179 H 143.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #118E1C |
|---|---|
| RGB | rgb(17, 142, 28) |
| HSL | hsl(125, 79%, 31%) |
| HSV | hsv(125, 88%, 56%) |
| CMYK | cmyk(88%, 0%, 80.3%, 44.3%) |
| CIE-LAB | lab(51.32, -53.25, 47.76) |
| CIE-LCH | lch(51.32, 71.53, 138.11°) |
| OKLab | oklab(56.3% -0.1441 0.1068) |
| OKLCH | oklch(56.3% 0.179 143.5) |
| XYZ | xyz(10.1131, 19.5477, 4.3385) |
| Luminance | 0.1955 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 0.55
Forestgreen (CSS)
#228B22
ΔE00 1.34
Irish Green
#019529
ΔE00 2.65
True Green
#089404
ΔE00 2.74
Kelley Green
#009337
ΔE00 3.71
Green
#008000
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#118E1C #8E1183
analogous
#448E11 #118E1C #118E5A
triadic
#118E1C #1C118E #8E1C11
tetradic
#118E1C #11448E #8E1183 #8E5A11
square
#118E1C #11448E #8E1183 #8E5A11
split-complementary
#118E1C #5A118E #8E1144
monochromatic
#042106 #0A5711 #118E1C #18C527 #33E743
Accessibility & contrast
On white
4.28
#118E1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#118E1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #118E1C
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##118E1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##118E1C | 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)
#84772A
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #118e1c; /* rgb */ color: rgb(17, 142, 28); /* oklch */ color: oklch(56.3% 0.179 143.5);
Tailwind
colors: {
custom: {
50: '#6cb062',
500: '#118e1c',
950: '#000000',
},
}SCSS
$custom: #118e1c; $custom-light: #6cb062; $custom-dark: #000000;
JSON
{
"hex": "#118e1c",
"rgb": {
"r": 17,
"g": 142,
"b": 28
},
"hsl": {
"h": 125.28,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.56301,
"c": 0.17937,
"h": 143.5
},
"luminance": 0.19549
}Semantic roles & 50–950 ramp
primary
#118E1C
secondary
#C238B6
accent
#33E4F5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A