#118E1A#118E1A

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

Color values

HEX#118E1A
RGBrgb(17, 142, 26)
HSLhsl(124, 79%, 31%)
HSVhsv(124, 88%, 56%)
CMYKcmyk(88%, 0%, 81.7%, 44.3%)
CIE-LABlab(51.31, -53.39, 48.39)
CIE-LCHlch(51.31, 72.05, 137.81°)
OKLaboklab(56.29% -0.1446 0.1078)
OKLCHoklch(56.29% 0.18 143.3)
XYZxyz(10.0899, 19.5385, 4.2166)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E1A #8E1185
analogous
#468E11 #118E1A #118E58
triadic
#118E1A #1A118E #8E1A11
tetradic
#118E1A #11468E #8E1185 #8E5811
square
#118E1A #11468E #8E1185 #8E5811
split-complementary
#118E1A #58118E #8E1146
monochromatic
#042106 #0A5710 #118E1A #18C524 #33E740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##118E1A#FFFFFF#000000##000000
##118E1A1.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)
#847728
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #118e1a;
/* rgb */ color: rgb(17, 142, 26);
/* oklch */ color: oklch(56.3% 0.180 143.3);
Tailwind
colors: {
  custom: {
    50: '#6cb061',
    500: '#118e1a',
    950: '#000000',
  },
}
SCSS
$custom: #118e1a;
$custom-light: #6cb061;
$custom-dark: #000000;
JSON
{
  "hex": "#118e1a",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 124.32,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.18034,
    "h": 143.3
  },
  "luminance": 0.1954
}

Semantic roles & 50–950 ramp

primary
#118E1A
secondary
#C238B8
accent
#33E7F5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #118E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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