#118E2F#118E2F
#118E2F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.167 H 145.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #118E2F |
|---|---|
| RGB | rgb(17, 142, 47) |
| HSL | hsl(134, 79%, 31%) |
| HSV | hsv(134, 88%, 56%) |
| CMYK | cmyk(88%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(51.46, -51.50, 40.47) |
| CIE-LCH | lch(51.46, 65.51, 141.84°) |
| OKLab | oklab(56.46% -0.1386 0.094) |
| OKLCH | oklch(56.46% 0.167 145.9) |
| XYZ | xyz(10.4165, 19.6691, 5.9363) |
| Luminance | 0.1967 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Kelley Green
#009337
ΔE00 1.95
Emerald Green
#028F1E
ΔE00 2.13
Forestgreen (CSS)
#228B22
ΔE00 2.20
Irish Green
#019529
ΔE00 2.69
True Green
#089404
ΔE00 4.65
Green
#008000
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#118E2F #8E1170
analogous
#318E11 #118E2F #118E6D
triadic
#118E2F #2F118E #8E2F11
tetradic
#118E2F #11318E #8E1170 #8E6D11
square
#118E2F #11318E #8E1170 #8E6D11
split-complementary
#118E2F #6D118E #8E1131
monochromatic
#04210B #0A571D #118E2F #18C541 #33E75E
Accessibility & contrast
On white
4.26
#118E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#118E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #118E2F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##118E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##118E2F | 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)
#908023
Deuteranopia (green-blind)
#837738
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #118e2f; /* rgb */ color: rgb(17, 142, 47); /* oklch */ color: oklch(56.5% 0.167 145.9);
Tailwind
colors: {
custom: {
50: '#6bb06c',
500: '#118e2f',
950: '#000000',
},
}SCSS
$custom: #118e2f; $custom-light: #6bb06c; $custom-dark: #000000;
JSON
{
"hex": "#118e2f",
"rgb": {
"r": 17,
"g": 142,
"b": 47
},
"hsl": {
"h": 134.4,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.56461,
"c": 0.16742,
"h": 145.9
},
"luminance": 0.1967
}Semantic roles & 50–950 ramp
primary
#118E2F
secondary
#C238A1
accent
#33C6F5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A