#118C1E#118C1E

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

Color values

HEX#118C1E
RGBrgb(17, 140, 30)
HSLhsl(126, 78%, 31%)
HSVhsv(126, 88%, 55%)
CMYKcmyk(87.9%, 0%, 78.6%, 45.1%)
CIE-LABlab(50.65, -52.48, 46.44)
CIE-LCHlch(50.65, 70.08, 138.50°)
OKLaboklab(55.74% -0.1419 0.1043)
OKLCHoklch(55.74% 0.176 143.7)
XYZxyz(9.8429, 18.9678, 4.3704)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118C1E #8C117F
analogous
#428C11 #118C1E #118C5B
triadic
#118C1E #1E118C #8C1E11
tetradic
#118C1E #11428C #8C117F #8C5B11
square
#118C1E #11428C #8C117F #8C5B11
split-complementary
#118C1E #5B118C #8C1142
monochromatic
#041F07 #0A5512 #118C1E #18C32A #31E644

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##118C1E#FFFFFF#000000##000000
##118C1E1.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)
#8F7E03
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #118c1e;
/* rgb */ color: rgb(17, 140, 30);
/* oklch */ color: oklch(55.7% 0.176 143.7);
Tailwind
colors: {
  custom: {
    50: '#6baf62',
    500: '#118c1e',
    950: '#000000',
  },
}
SCSS
$custom: #118c1e;
$custom-light: #6baf62;
$custom-dark: #000000;
JSON
{
  "hex": "#118c1e",
  "rgb": {
    "r": 17,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 126.341,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.17614,
    "h": 143.7
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#118C1E
secondary
#C138B2
accent
#33E0F5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #118C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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