#118C1A#118C1A

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

Color values

HEX#118C1A
RGBrgb(17, 140, 26)
HSLhsl(124, 78%, 31%)
HSVhsv(124, 88%, 55%)
CMYKcmyk(87.9%, 0%, 81.4%, 45.1%)
CIE-LABlab(50.63, -52.77, 47.74)
CIE-LCHlch(50.63, 71.16, 137.86°)
OKLaboklab(55.72% -0.1429 0.1065)
OKLCHoklch(55.72% 0.178 143.3)
XYZxyz(9.7950, 18.9487, 4.1183)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118C1A #8C1183
analogous
#458C11 #118C1A #118C57
triadic
#118C1A #1A118C #8C1A11
tetradic
#118C1A #11458C #8C1183 #8C5711
square
#118C1A #11458C #8C1183 #8C5711
split-complementary
#118C1A #57118C #8C1145
monochromatic
#041F06 #0A5510 #118C1A #18C324 #31E63F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##118C1A#FFFFFF#000000##000000
##118C1A1.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)
#837528
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #118c1a;
/* rgb */ color: rgb(17, 140, 26);
/* oklch */ color: oklch(55.7% 0.178 143.3);
Tailwind
colors: {
  custom: {
    50: '#6baf61',
    500: '#118c1a',
    950: '#000000',
  },
}
SCSS
$custom: #118c1a;
$custom-light: #6baf61;
$custom-dark: #000000;
JSON
{
  "hex": "#118c1a",
  "rgb": {
    "r": 17,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 124.39,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55719,
    "c": 0.17818,
    "h": 143.3
  },
  "luminance": 0.1895
}

Semantic roles & 50–950 ramp

primary
#118C1A
secondary
#C138B7
accent
#33E7F5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #118C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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