#118C21#118C21
#118C21 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.174 H 144.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #118C21 |
|---|---|
| RGB | rgb(17, 140, 33) |
| HSL | hsl(128, 78%, 31%) |
| HSV | hsv(128, 88%, 55%) |
| CMYK | cmyk(87.9%, 0%, 76.4%, 45.1%) |
| CIE-LAB | lab(50.67, -52.24, 45.38) |
| CIE-LCH | lch(50.67, 69.20, 139.02°) |
| OKLab | oklab(55.77% -0.1412 0.1025) |
| OKLCH | oklch(55.77% 0.174 144) |
| XYZ | xyz(9.8831, 18.9839, 4.5819) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.83
Emerald Green
#028F1E
ΔE00 1.13
Irish Green
#019529
ΔE00 3.13
Kelley Green
#009337
ΔE00 3.56
True Green
#089404
ΔE00 3.71
Green
#008000
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#118C21 #8C117C
analogous
#3E8C11 #118C21 #118C5E
triadic
#118C21 #21118C #8C2111
tetradic
#118C21 #113E8C #8C117C #8C5E11
square
#118C21 #113E8C #8C117C #8C5E11
split-complementary
#118C21 #5E118C #8C113E
monochromatic
#041F07 #0A5514 #118C21 #18C32E #31E649
Accessibility & contrast
On white
4.38
#118C21 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#118C21 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #118C21
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##118C21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##118C21 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #118c21; /* rgb */ color: rgb(17, 140, 33); /* oklch */ color: oklch(55.8% 0.174 144.0);
Tailwind
colors: {
custom: {
50: '#6baf64',
500: '#118c21',
950: '#000000',
},
}SCSS
$custom: #118c21; $custom-light: #6baf64; $custom-dark: #000000;
JSON
{
"hex": "#118c21",
"rgb": {
"r": 17,
"g": 140,
"b": 33
},
"hsl": {
"h": 127.805,
"s": 78.344,
"l": 30.784
},
"oklch": {
"l": 0.55766,
"c": 0.17447,
"h": 144
},
"luminance": 0.18985
}Semantic roles & 50–950 ramp
primary
#118C21
secondary
#C138AF
accent
#33DCF5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A