#118021#118021

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

Color values

HEX#118021
RGBrgb(17, 128, 33)
HSLhsl(129, 77%, 28%)
HSVhsv(129, 87%, 50%)
CMYKcmyk(86.7%, 0%, 74.2%, 49.8%)
CIE-LABlab(46.53, -48.39, 41.17)
CIE-LCHlch(46.53, 63.53, 139.61°)
OKLaboklab(52.32% -0.1306 0.0937)
OKLCHoklch(52.32% 0.161 144.3)
XYZxyz(8.2243, 15.6663, 4.0290)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118021 #801170
analogous
#388011 #118021 #118058
triadic
#118021 #211180 #802111
tetradic
#118021 #113880 #801170 #805811
square
#118021 #113880 #801170 #805811
split-complementary
#118021 #581180 #801138
monochromatic
#041B07 #0A4A13 #118021 #18B62F #29E344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##118021#FFFFFF#000000##FFFFFF
##1180211.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)
#827311
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #118021;
/* rgb */ color: rgb(17, 128, 33);
/* oklch */ color: oklch(52.3% 0.161 144.3);
Tailwind
colors: {
  custom: {
    50: '#68a662',
    500: '#118021',
    950: '#000000',
  },
}
SCSS
$custom: #118021;
$custom-light: #68a662;
$custom-dark: #000000;
JSON
{
  "hex": "#118021",
  "rgb": {
    "r": 17,
    "g": 128,
    "b": 33
  },
  "hsl": {
    "h": 128.649,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.1608,
    "h": 144.3
  },
  "luminance": 0.15667
}

Semantic roles & 50–950 ramp

primary
#118021
secondary
#B637A4
accent
#35D8F3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #118021

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

Preview Lab → · Contrast checker → · Palette generator →

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