#118E2C#118E2C
#118E2C is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.170 H 145.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #118E2C |
|---|---|
| RGB | rgb(17, 142, 44) |
| HSL | hsl(133, 79%, 31%) |
| HSV | hsv(133, 88%, 56%) |
| CMYK | cmyk(88%, 0%, 69%, 44.3%) |
| CIE-LAB | lab(51.43, -51.84, 41.76) |
| CIE-LCH | lch(51.43, 66.57, 141.14°) |
| OKLab | oklab(56.43% -0.1396 0.0964) |
| OKLCH | oklch(56.43% 0.17 145.4) |
| XYZ | xyz(10.3580, 19.6457, 5.6285) |
| Luminance | 0.1965 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.71
Forestgreen (CSS)
#228B22
ΔE00 1.86
Kelley Green
#009337
ΔE00 2.19
Irish Green
#019529
ΔE00 2.52
True Green
#089404
ΔE00 4.27
Green
#008000
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#118E2C #8E1173
analogous
#348E11 #118E2C #118E6A
triadic
#118E2C #2C118E #8E2C11
tetradic
#118E2C #11348E #8E1173 #8E6A11
square
#118E2C #11348E #8E1173 #8E6A11
split-complementary
#118E2C #6A118E #8E1134
monochromatic
#04210A #0A571B #118E2C #18C53D #33E75A
Accessibility & contrast
On white
4.26
#118E2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#118E2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #118E2C
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##118E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##118E2C | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#847735
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #118e2c; /* rgb */ color: rgb(17, 142, 44); /* oklch */ color: oklch(56.4% 0.170 145.4);
Tailwind
colors: {
custom: {
50: '#6bb06a',
500: '#118e2c',
950: '#000000',
},
}SCSS
$custom: #118e2c; $custom-light: #6bb06a; $custom-dark: #000000;
JSON
{
"hex": "#118e2c",
"rgb": {
"r": 17,
"g": 142,
"b": 44
},
"hsl": {
"h": 132.96,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.5643,
"c": 0.16961,
"h": 145.4
},
"luminance": 0.19647
}Semantic roles & 50–950 ramp
primary
#118E2C
secondary
#C238A5
accent
#33CBF5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A