#118C1D#118C1D

#118C1D is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.7% C 0.177 H 143.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#118C1D
RGBrgb(17, 140, 29)
HSLhsl(126, 78%, 31%)
HSVhsv(126, 88%, 55%)
CMYKcmyk(87.9%, 0%, 79.3%, 45.1%)
CIE-LABlab(50.64, -52.56, 46.77)
CIE-LCHlch(50.64, 70.36, 138.33°)
OKLaboklab(55.74% -0.1422 0.1049)
OKLCHoklch(55.74% 0.177 143.6)
XYZxyz(9.8303, 18.9628, 4.3042)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118C1D #8C1180
analogous
#428C11 #118C1D #118C5A
triadic
#118C1D #1D118C #8C1D11
tetradic
#118C1D #11428C #8C1180 #8C5A11
square
#118C1D #11428C #8C1180 #8C5A11
split-complementary
#118C1D #5A118C #8C1142
monochromatic
#041F06 #0A5512 #118C1D #18C328 #31E643

Accessibility & contrast

On white

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

On black

4.79
#118C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118C1D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118C1D#FFFFFF#000000##000000
##118C1D1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #118c1d;
/* rgb */ color: rgb(17, 140, 29);
/* oklch */ color: oklch(55.7% 0.177 143.6);
Tailwind
colors: {
  custom: {
    50: '#6baf62',
    500: '#118c1d',
    950: '#000000',
  },
}
SCSS
$custom: #118c1d;
$custom-light: #6baf62;
$custom-dark: #000000;
JSON
{
  "hex": "#118c1d",
  "rgb": {
    "r": 17,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 125.854,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55738,
    "c": 0.17668,
    "h": 143.6
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#118C1D
secondary
#C138B3
accent
#33E2F5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #118C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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