#118E31#118E31

#118E31 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.166 H 146.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#118E31
RGBrgb(17, 142, 49)
HSLhsl(135, 79%, 31%)
HSVhsv(135, 88%, 56%)
CMYKcmyk(88%, 0%, 65.5%, 44.3%)
CIE-LABlab(51.48, -51.27, 39.59)
CIE-LCHlch(51.48, 64.78, 142.32°)
OKLaboklab(56.48% -0.1379 0.0923)
OKLCHoklch(56.48% 0.166 146.2)
XYZxyz(10.4577, 19.6856, 6.1537)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E31 #8E116E
analogous
#2F8E11 #118E31 #118E6F
triadic
#118E31 #31118E #8E3111
tetradic
#118E31 #112F8E #8E116E #8E6F11
square
#118E31 #112F8E #8E116E #8E6F11
split-complementary
#118E31 #6F118E #8E112F
monochromatic
#04210B #0A571E #118E31 #18C544 #33E761

Accessibility & contrast

On white

4.25
#118E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#118E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118E31
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118E31#FFFFFF#000000##000000
##118E311.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #118e31;
/* rgb */ color: rgb(17, 142, 49);
/* oklch */ color: oklch(56.5% 0.166 146.2);
Tailwind
colors: {
  custom: {
    50: '#6bb06d',
    500: '#118e31',
    950: '#000000',
  },
}
SCSS
$custom: #118e31;
$custom-light: #6bb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#118e31",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 135.36,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56483,
    "c": 0.16591,
    "h": 146.2
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#118E31
secondary
#C2389F
accent
#33C3F5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #118E31

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

Preview Lab → · Contrast checker → · Palette generator →

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