#118020#118020

#118020 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.3% C 0.161 H 144.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#118020
RGBrgb(17, 128, 32)
HSLhsl(128, 77%, 28%)
HSVhsv(128, 87%, 50%)
CMYKcmyk(86.7%, 0%, 75%, 49.8%)
CIE-LABlab(46.53, -48.48, 41.56)
CIE-LCHlch(46.53, 63.86, 139.40°)
OKLaboklab(52.32% -0.1309 0.0944)
OKLCHoklch(52.32% 0.161 144.2)
XYZxyz(8.2105, 15.6608, 3.9563)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118020 #801171
analogous
#398011 #118020 #118057
triadic
#118020 #201180 #802011
tetradic
#118020 #113980 #801171 #805711
square
#118020 #113980 #801171 #805711
split-complementary
#118020 #571180 #801139
monochromatic
#041B07 #0A4A12 #118020 #18B62E #29E342

Accessibility & contrast

On white

5.08
#118020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#118020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #118020
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118020#FFFFFF#000000##FFFFFF
##1180201.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #118020;
/* rgb */ color: rgb(17, 128, 32);
/* oklch */ color: oklch(52.3% 0.161 144.2);
Tailwind
colors: {
  custom: {
    50: '#68a662',
    500: '#118020',
    950: '#000000',
  },
}
SCSS
$custom: #118020;
$custom-light: #68a662;
$custom-dark: #000000;
JSON
{
  "hex": "#118020",
  "rgb": {
    "r": 17,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 128.108,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.16144,
    "h": 144.2
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#118020
secondary
#B637A5
accent
#35D9F3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #118020

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

Preview Lab → · Contrast checker → · Palette generator →

#118020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva