#118F2C#118F2C
#118F2C is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.171 H 145.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #118F2C |
|---|---|
| RGB | rgb(17, 143, 44) |
| HSL | hsl(133, 79%, 31%) |
| HSV | hsv(133, 88%, 56%) |
| CMYK | cmyk(88.1%, 0%, 69.2%, 43.9%) |
| CIE-LAB | lab(51.77, -52.16, 42.13) |
| CIE-LCH | lch(51.77, 67.05, 141.07°) |
| OKLab | oklab(56.71% -0.1405 0.0971) |
| OKLCH | oklch(56.71% 0.171 145.3) |
| XYZ | xyz(10.5075, 19.9446, 5.6783) |
| Luminance | 0.1995 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.60
Kelley Green
#009337
ΔE00 1.99
Forestgreen (CSS)
#228B22
ΔE00 2.01
Irish Green
#019529
ΔE00 2.16
True Green
#089404
ΔE00 4.04
Green
#008000
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#118F2C #8F1174
analogous
#358F11 #118F2C #118F6B
triadic
#118F2C #2C118F #8F2C11
tetradic
#118F2C #11358F #8F1174 #8F6B11
square
#118F2C #11358F #8F1174 #8F6B11
split-complementary
#118F2C #6B118F #8F1135
monochromatic
#04220A #0A581B #118F2C #18C63D #34E75A
Accessibility & contrast
On white
4.21
#118F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#118F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #118F2C
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##118F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##118F2C | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91811E
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #118f2c; /* rgb */ color: rgb(17, 143, 44); /* oklch */ color: oklch(56.7% 0.171 145.3);
Tailwind
colors: {
custom: {
50: '#6bb16a',
500: '#118f2c',
950: '#000000',
},
}SCSS
$custom: #118f2c; $custom-light: #6bb16a; $custom-dark: #000000;
JSON
{
"hex": "#118f2c",
"rgb": {
"r": 17,
"g": 143,
"b": 44
},
"hsl": {
"h": 132.857,
"s": 78.75,
"l": 31.373
},
"oklch": {
"l": 0.56713,
"c": 0.17078,
"h": 145.3
},
"luminance": 0.19946
}Semantic roles & 50–950 ramp
primary
#118F2C
secondary
#C338A6
accent
#33CCF5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A