#118E27#118E27

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

Color values

HEX#118E27
RGBrgb(17, 142, 39)
HSLhsl(131, 79%, 31%)
HSVhsv(131, 88%, 56%)
CMYKcmyk(88%, 0%, 72.5%, 44.3%)
CIE-LABlab(51.39, -52.35, 43.81)
CIE-LCHlch(51.39, 68.26, 140.07°)
OKLaboklab(56.38% -0.1412 0.1)
OKLCHoklch(56.38% 0.173 144.7)
XYZxyz(10.2696, 19.6104, 5.1630)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E27 #8E1178
analogous
#398E11 #118E27 #118E65
triadic
#118E27 #27118E #8E2711
tetradic
#118E27 #11398E #8E1178 #8E6511
square
#118E27 #11398E #8E1178 #8E6511
split-complementary
#118E27 #65118E #8E1139
monochromatic
#042109 #0A5718 #118E27 #18C536 #33E752

Accessibility & contrast

On white

4.27
#118E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#118E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118E27
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118E27#FFFFFF#000000##000000
##118E271.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918017
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #118e27;
/* rgb */ color: rgb(17, 142, 39);
/* oklch */ color: oklch(56.4% 0.173 144.7);
Tailwind
colors: {
  custom: {
    50: '#6bb067',
    500: '#118e27',
    950: '#000000',
  },
}
SCSS
$custom: #118e27;
$custom-light: #6bb067;
$custom-dark: #000000;
JSON
{
  "hex": "#118e27",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 130.56,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.17303,
    "h": 144.7
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#118E27
secondary
#C238AA
accent
#33D3F5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #118E27

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

Preview Lab → · Contrast checker → · Palette generator →

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