#118E1C#118E1C

#118E1C is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.179 H 143.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#118E1C
RGBrgb(17, 142, 28)
HSLhsl(125, 79%, 31%)
HSVhsv(125, 88%, 56%)
CMYKcmyk(88%, 0%, 80.3%, 44.3%)
CIE-LABlab(51.32, -53.25, 47.76)
CIE-LCHlch(51.32, 71.53, 138.11°)
OKLaboklab(56.3% -0.1441 0.1068)
OKLCHoklch(56.3% 0.179 143.5)
XYZxyz(10.1131, 19.5477, 4.3385)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E1C #8E1183
analogous
#448E11 #118E1C #118E5A
triadic
#118E1C #1C118E #8E1C11
tetradic
#118E1C #11448E #8E1183 #8E5A11
square
#118E1C #11448E #8E1183 #8E5A11
split-complementary
#118E1C #5A118E #8E1144
monochromatic
#042106 #0A5711 #118E1C #18C527 #33E743

Accessibility & contrast

On white

4.28
#118E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#118E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118E1C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118E1C#FFFFFF#000000##000000
##118E1C1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #118e1c;
/* rgb */ color: rgb(17, 142, 28);
/* oklch */ color: oklch(56.3% 0.179 143.5);
Tailwind
colors: {
  custom: {
    50: '#6cb062',
    500: '#118e1c',
    950: '#000000',
  },
}
SCSS
$custom: #118e1c;
$custom-light: #6cb062;
$custom-dark: #000000;
JSON
{
  "hex": "#118e1c",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 125.28,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56301,
    "c": 0.17937,
    "h": 143.5
  },
  "luminance": 0.19549
}

Semantic roles & 50–950 ramp

primary
#118E1C
secondary
#C238B6
accent
#33E4F5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #118E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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