#118C1B#118C1B
#118C1B is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.7% C 0.178 H 143.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #118C1B |
|---|---|
| RGB | rgb(17, 140, 27) |
| HSL | hsl(125, 78%, 31%) |
| HSV | hsv(125, 88%, 55%) |
| CMYK | cmyk(87.9%, 0%, 80.7%, 45.1%) |
| CIE-LAB | lab(50.63, -52.70, 47.42) |
| CIE-LCH | lch(50.63, 70.90, 138.02°) |
| OKLab | oklab(55.73% -0.1426 0.106) |
| OKLCH | oklch(55.73% 0.178 143.4) |
| XYZ | xyz(9.8064, 18.9532, 4.1782) |
| Luminance | 0.1895 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.97
Emerald Green
#028F1E
ΔE00 1.10
Irish Green
#019529
ΔE00 3.29
True Green
#089404
ΔE00 3.31
Kelley Green
#009337
ΔE00 4.06
Green
#008000
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#118C1B #8C1182
analogous
#448C11 #118C1B #118C58
triadic
#118C1B #1B118C #8C1B11
tetradic
#118C1B #11448C #8C1182 #8C5811
square
#118C1B #11448C #8C1182 #8C5811
split-complementary
#118C1B #58118C #8C1144
monochromatic
#041F06 #0A5510 #118C1B #18C326 #31E640
Accessibility & contrast
On white
4.38
#118C1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#118C1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #118C1B
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##118C1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##118C1B | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #118c1b; /* rgb */ color: rgb(17, 140, 27); /* oklch */ color: oklch(55.7% 0.178 143.4);
Tailwind
colors: {
custom: {
50: '#6baf61',
500: '#118c1b',
950: '#000000',
},
}SCSS
$custom: #118c1b; $custom-light: #6baf61; $custom-dark: #000000;
JSON
{
"hex": "#118c1b",
"rgb": {
"r": 17,
"g": 140,
"b": 27
},
"hsl": {
"h": 124.878,
"s": 78.344,
"l": 30.784
},
"oklch": {
"l": 0.55725,
"c": 0.17769,
"h": 143.4
},
"luminance": 0.18954
}Semantic roles & 50–950 ramp
primary
#118C1B
secondary
#C138B6
accent
#33E5F5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A