#118E22#118E22

#118E22 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.3% C 0.176 H 144.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#118E22
RGBrgb(17, 142, 34)
HSLhsl(128, 79%, 31%)
HSVhsv(128, 88%, 56%)
CMYKcmyk(88%, 0%, 76.1%, 44.3%)
CIE-LABlab(51.36, -52.79, 45.70)
CIE-LCHlch(51.36, 69.83, 139.12°)
OKLaboklab(56.34% -0.1426 0.1033)
OKLCHoklch(56.34% 0.176 144.1)
XYZxyz(10.1922, 19.5794, 4.7551)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E22 #8E117D
analogous
#3E8E11 #118E22 #118E60
triadic
#118E22 #22118E #8E2211
tetradic
#118E22 #113E8E #8E117D #8E6011
square
#118E22 #113E8E #8E117D #8E6011
split-complementary
#118E22 #60118E #8E113E
monochromatic
#042108 #0A5715 #118E22 #18C52F #33E74B

Accessibility & contrast

On white

4.27
#118E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#118E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118E22
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118E22#FFFFFF#000000##000000
##118E221.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800C
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #118e22;
/* rgb */ color: rgb(17, 142, 34);
/* oklch */ color: oklch(56.3% 0.176 144.1);
Tailwind
colors: {
  custom: {
    50: '#6cb065',
    500: '#118e22',
    950: '#000000',
  },
}
SCSS
$custom: #118e22;
$custom-light: #6cb065;
$custom-dark: #000000;
JSON
{
  "hex": "#118e22",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 128.16,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.17612,
    "h": 144.1
  },
  "luminance": 0.19581
}

Semantic roles & 50–950 ramp

primary
#118E22
secondary
#C238B0
accent
#33DBF5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #118E22

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#118E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva