#118E2B#118E2B
#118E2B is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.170 H 145.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #118E2B |
|---|---|
| RGB | rgb(17, 142, 43) |
| HSL | hsl(132, 79%, 31%) |
| HSV | hsv(132, 88%, 56%) |
| CMYK | cmyk(88%, 0%, 69.7%, 44.3%) |
| CIE-LAB | lab(51.43, -51.94, 42.18) |
| CIE-LCH | lch(51.43, 66.92, 140.92°) |
| OKLab | oklab(56.42% -0.1399 0.0971) |
| OKLCH | oklch(56.42% 0.17 145.2) |
| XYZ | xyz(10.3394, 19.6383, 5.5307) |
| Luminance | 0.1964 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.58
Forestgreen (CSS)
#228B22
ΔE00 1.76
Kelley Green
#009337
ΔE00 2.27
Irish Green
#019529
ΔE00 2.48
True Green
#089404
ΔE00 4.15
Green
#008000
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#118E2B #8E1174
analogous
#358E11 #118E2B #118E69
triadic
#118E2B #2B118E #8E2B11
tetradic
#118E2B #11358E #8E1174 #8E6911
square
#118E2B #11358E #8E1174 #8E6911
split-complementary
#118E2B #69118E #8E1135
monochromatic
#04210A #0A571A #118E2B #18C53C #33E758
Accessibility & contrast
On white
4.26
#118E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#118E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #118E2B
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##118E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##118E2B | 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)
#90801D
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #118e2b; /* rgb */ color: rgb(17, 142, 43); /* oklch */ color: oklch(56.4% 0.170 145.2);
Tailwind
colors: {
custom: {
50: '#6bb06a',
500: '#118e2b',
950: '#000000',
},
}SCSS
$custom: #118e2b; $custom-light: #6bb06a; $custom-dark: #000000;
JSON
{
"hex": "#118e2b",
"rgb": {
"r": 17,
"g": 142,
"b": 43
},
"hsl": {
"h": 132.48,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.5642,
"c": 0.17032,
"h": 145.2
},
"luminance": 0.1964
}Semantic roles & 50–950 ramp
primary
#118E2B
secondary
#C238A6
accent
#33CDF5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A