#118C1C#118C1C

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

Color values

HEX#118C1C
RGBrgb(17, 140, 28)
HSLhsl(125, 78%, 31%)
HSVhsv(125, 88%, 55%)
CMYKcmyk(87.9%, 0%, 80%, 45.1%)
CIE-LABlab(50.64, -52.63, 47.10)
CIE-LCHlch(50.64, 70.63, 138.17°)
OKLaboklab(55.73% -0.1424 0.1054)
OKLCHoklch(55.73% 0.177 143.5)
XYZxyz(9.8182, 18.9579, 4.2402)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118C1C #8C1181
analogous
#438C11 #118C1C #118C59
triadic
#118C1C #1C118C #8C1C11
tetradic
#118C1C #11438C #8C1181 #8C5911
square
#118C1C #11438C #8C1181 #8C5911
split-complementary
#118C1C #59118C #8C1143
monochromatic
#041F06 #0A5511 #118C1C #18C327 #31E642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##118C1C#FFFFFF#000000##000000
##118C1C1.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)
#8F7E00
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #118c1c;
/* rgb */ color: rgb(17, 140, 28);
/* oklch */ color: oklch(55.7% 0.177 143.5);
Tailwind
colors: {
  custom: {
    50: '#6baf62',
    500: '#118c1c',
    950: '#000000',
  },
}
SCSS
$custom: #118c1c;
$custom-light: #6baf62;
$custom-dark: #000000;
JSON
{
  "hex": "#118c1c",
  "rgb": {
    "r": 17,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 125.366,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.17719,
    "h": 143.5
  },
  "luminance": 0.18959
}

Semantic roles & 50–950 ramp

primary
#118C1C
secondary
#C138B4
accent
#33E3F5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #118C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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