#118D1A#118D1A

#118D1A is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.179 H 143.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#118D1A
RGBrgb(17, 141, 26)
HSLhsl(124, 78%, 31%)
HSVhsv(124, 88%, 55%)
CMYKcmyk(87.9%, 0%, 81.6%, 44.7%)
CIE-LABlab(50.97, -53.08, 48.06)
CIE-LCHlch(50.97, 71.61, 137.84°)
OKLaboklab(56% -0.1437 0.1072)
OKLCHoklch(56% 0.179 143.3)
XYZxyz(9.9418, 19.2422, 4.1672)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118D1A #8D1184
analogous
#468D11 #118D1A #118D58
triadic
#118D1A #1A118D #8D1A11
tetradic
#118D1A #11468D #8D1184 #8D5811
square
#118D1A #11468D #8D1184 #8D5811
split-complementary
#118D1A #58118D #8D1146
monochromatic
#042006 #0A5610 #118D1A #18C424 #32E63F

Accessibility & contrast

On white

4.33
#118D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#118D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118D1A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118D1A#FFFFFF#000000##000000
##118D1A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #118d1a;
/* rgb */ color: rgb(17, 141, 26);
/* oklch */ color: oklch(56.0% 0.179 143.3);
Tailwind
colors: {
  custom: {
    50: '#6cb061',
    500: '#118d1a',
    950: '#000000',
  },
}
SCSS
$custom: #118d1a;
$custom-light: #6cb061;
$custom-dark: #000000;
JSON
{
  "hex": "#118d1a",
  "rgb": {
    "r": 17,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 124.355,
    "s": 78.481,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56004,
    "c": 0.17927,
    "h": 143.3
  },
  "luminance": 0.19244
}

Semantic roles & 50–950 ramp

primary
#118D1A
secondary
#C238B8
accent
#33E7F5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081105
muted
#7B807A

Preview Lab

Preview with #118D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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