#118E28#118E28

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

Color values

HEX#118E28
RGBrgb(17, 142, 40)
HSLhsl(131, 79%, 31%)
HSVhsv(131, 88%, 56%)
CMYKcmyk(88%, 0%, 71.8%, 44.3%)
CIE-LABlab(51.40, -52.25, 43.41)
CIE-LCHlch(51.40, 67.93, 140.28°)
OKLaboklab(56.39% -0.1409 0.0993)
OKLCHoklch(56.39% 0.172 144.8)
XYZxyz(10.2864, 19.6171, 5.2514)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E28 #8E1177
analogous
#388E11 #118E28 #118E66
triadic
#118E28 #28118E #8E2811
tetradic
#118E28 #11388E #8E1177 #8E6611
square
#118E28 #11388E #8E1177 #8E6611
split-complementary
#118E28 #66118E #8E1138
monochromatic
#042109 #0A5719 #118E28 #18C537 #33E754

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##118E28#FFFFFF#000000##000000
##118E281.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)
#918018
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #118e28;
/* rgb */ color: rgb(17, 142, 40);
/* oklch */ color: oklch(56.4% 0.172 144.8);
Tailwind
colors: {
  custom: {
    50: '#6bb068',
    500: '#118e28',
    950: '#000000',
  },
}
SCSS
$custom: #118e28;
$custom-light: #6bb068;
$custom-dark: #000000;
JSON
{
  "hex": "#118e28",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 131.04,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56392,
    "c": 0.17237,
    "h": 144.8
  },
  "luminance": 0.19618
}

Semantic roles & 50–950 ramp

primary
#118E28
secondary
#C238A9
accent
#33D1F5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #118E28

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

Preview Lab → · Contrast checker → · Palette generator →

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