#118C1F#118C1F
#118C1F is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.176 H 143.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #118C1F |
|---|---|
| RGB | rgb(17, 140, 31) |
| HSL | hsl(127, 78%, 31%) |
| HSV | hsv(127, 88%, 55%) |
| CMYK | cmyk(87.9%, 0%, 77.9%, 45.1%) |
| CIE-LAB | lab(50.66, -52.41, 46.09) |
| CIE-LCH | lch(50.66, 69.79, 138.67°) |
| OKLab | oklab(55.75% -0.1417 0.1037) |
| OKLCH | oklch(55.75% 0.176 143.8) |
| XYZ | xyz(9.8559, 18.9730, 4.4388) |
| Luminance | 0.1897 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.83
Emerald Green
#028F1E
ΔE00 1.07
Irish Green
#019529
ΔE00 3.17
True Green
#089404
ΔE00 3.56
Kelley Green
#009337
ΔE00 3.73
Green
#008000
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#118C1F #8C117E
analogous
#408C11 #118C1F #118C5C
triadic
#118C1F #1F118C #8C1F11
tetradic
#118C1F #11408C #8C117E #8C5C11
square
#118C1F #11408C #8C117E #8C5C11
split-complementary
#118C1F #5C118C #8C1140
monochromatic
#041F07 #0A5513 #118C1F #18C32B #31E646
Accessibility & contrast
On white
4.38
#118C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#118C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #118C1F
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##118C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##118C1F | 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)
#8F7E06
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #118c1f; /* rgb */ color: rgb(17, 140, 31); /* oklch */ color: oklch(55.8% 0.176 143.8);
Tailwind
colors: {
custom: {
50: '#6baf63',
500: '#118c1f',
950: '#000000',
},
}SCSS
$custom: #118c1f; $custom-light: #6baf63; $custom-dark: #000000;
JSON
{
"hex": "#118c1f",
"rgb": {
"r": 17,
"g": 140,
"b": 31
},
"hsl": {
"h": 126.829,
"s": 78.344,
"l": 30.784
},
"oklch": {
"l": 0.55751,
"c": 0.17559,
"h": 143.8
},
"luminance": 0.18974
}Semantic roles & 50–950 ramp
primary
#118C1F
secondary
#C138B1
accent
#33DFF5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A