#118E2A#118E2A

#118E2A is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.171 H 145.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#118E2A
RGBrgb(17, 142, 42)
HSLhsl(132, 79%, 31%)
HSVhsv(132, 88%, 56%)
CMYKcmyk(88%, 0%, 70.4%, 44.3%)
CIE-LABlab(51.42, -52.05, 42.60)
CIE-LCHlch(51.42, 67.26, 140.70°)
OKLaboklab(56.41% -0.1402 0.0979)
OKLCHoklch(56.41% 0.171 145.1)
XYZxyz(10.3213, 19.6310, 5.4352)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E2A #8E1175
analogous
#368E11 #118E2A #118E68
triadic
#118E2A #2A118E #8E2A11
tetradic
#118E2A #11368E #8E1175 #8E6811
square
#118E2A #11368E #8E1175 #8E6811
split-complementary
#118E2A #68118E #8E1136
monochromatic
#04210A #0A571A #118E2A #18C53A #33E757

Accessibility & contrast

On white

4.26
#118E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#118E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118E2A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118E2A#FFFFFF#000000##000000
##118E2A1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #118e2a;
/* rgb */ color: rgb(17, 142, 42);
/* oklch */ color: oklch(56.4% 0.171 145.1);
Tailwind
colors: {
  custom: {
    50: '#6bb069',
    500: '#118e2a',
    950: '#000000',
  },
}
SCSS
$custom: #118e2a;
$custom-light: #6bb069;
$custom-dark: #000000;
JSON
{
  "hex": "#118e2a",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 132,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.17101,
    "h": 145.1
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#118E2A
secondary
#C238A7
accent
#33CEF5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #118E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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