#118E30#118E30

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

Color values

HEX#118E30
RGBrgb(17, 142, 48)
HSLhsl(135, 79%, 31%)
HSVhsv(135, 88%, 56%)
CMYKcmyk(88%, 0%, 66.2%, 44.3%)
CIE-LABlab(51.47, -51.39, 40.04)
CIE-LCHlch(51.47, 65.14, 142.08°)
OKLaboklab(56.47% -0.1382 0.0931)
OKLCHoklch(56.47% 0.167 146)
XYZxyz(10.4369, 19.6772, 6.0438)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E30 #8E116F
analogous
#308E11 #118E30 #118E6E
triadic
#118E30 #30118E #8E3011
tetradic
#118E30 #11308E #8E116F #8E6E11
square
#118E30 #11308E #8E116F #8E6E11
split-complementary
#118E30 #6E118E #8E1130
monochromatic
#04210B #0A571E #118E30 #18C542 #33E75F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##118E30#FFFFFF#000000##000000
##118E301.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)
#908024
Deuteranopia (green-blind)
#837738
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #118e30;
/* rgb */ color: rgb(17, 142, 48);
/* oklch */ color: oklch(56.5% 0.167 146.0);
Tailwind
colors: {
  custom: {
    50: '#6bb06c',
    500: '#118e30',
    950: '#000000',
  },
}
SCSS
$custom: #118e30;
$custom-light: #6bb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#118e30",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 134.88,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.16667,
    "h": 146
  },
  "luminance": 0.19679
}

Semantic roles & 50–950 ramp

primary
#118E30
secondary
#C238A0
accent
#33C5F5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #118E30

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

Preview Lab → · Contrast checker → · Palette generator →

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