#118C20#118C20

#118C20 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.175 H 143.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#118C20
RGBrgb(17, 140, 32)
HSLhsl(127, 78%, 31%)
HSVhsv(127, 88%, 55%)
CMYKcmyk(87.9%, 0%, 77.1%, 45.1%)
CIE-LABlab(50.66, -52.33, 45.74)
CIE-LCHlch(50.66, 69.50, 138.84°)
OKLaboklab(55.76% -0.1414 0.1031)
OKLCHoklch(55.76% 0.175 143.9)
XYZxyz(9.8693, 18.9784, 4.5093)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118C20 #8C117D
analogous
#3F8C11 #118C20 #118C5D
triadic
#118C20 #20118C #8C2011
tetradic
#118C20 #113F8C #8C117D #8C5D11
square
#118C20 #113F8C #8C117D #8C5D11
split-complementary
#118C20 #5D118C #8C113F
monochromatic
#041F07 #0A5514 #118C20 #18C32C #31E647

Accessibility & contrast

On white

4.38
#118C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#118C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118C20
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118C20#FFFFFF#000000##000000
##118C201.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #118c20;
/* rgb */ color: rgb(17, 140, 32);
/* oklch */ color: oklch(55.8% 0.175 143.9);
Tailwind
colors: {
  custom: {
    50: '#6baf63',
    500: '#118c20',
    950: '#000000',
  },
}
SCSS
$custom: #118c20;
$custom-light: #6baf63;
$custom-dark: #000000;
JSON
{
  "hex": "#118c20",
  "rgb": {
    "r": 17,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 127.317,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55759,
    "c": 0.17504,
    "h": 143.9
  },
  "luminance": 0.1898
}

Semantic roles & 50–950 ramp

primary
#118C20
secondary
#C138B0
accent
#33DDF5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #118C20

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

Preview Lab → · Contrast checker → · Palette generator →

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