#118E18#118E18

#118E18 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.181 H 143.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#118E18
RGBrgb(17, 142, 24)
HSLhsl(123, 79%, 31%)
HSVhsv(123, 88%, 56%)
CMYKcmyk(88%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.30, -53.51, 48.98)
CIE-LCHlch(51.30, 72.55, 137.53°)
OKLaboklab(56.28% -0.145 0.1088)
OKLCHoklch(56.28% 0.181 143.1)
XYZxyz(10.0684, 19.5298, 4.1030)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E18 #8E1187
analogous
#488E11 #118E18 #118E56
triadic
#118E18 #18118E #8E1811
tetradic
#118E18 #11488E #8E1187 #8E5611
square
#118E18 #11488E #8E1187 #8E5611
split-complementary
#118E18 #56118E #8E1148
monochromatic
#042106 #0A570F #118E18 #18C521 #33E73D

Accessibility & contrast

On white

4.28
#118E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#118E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118E18
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118E18#FFFFFF#000000##000000
##118E181.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #118e18;
/* rgb */ color: rgb(17, 142, 24);
/* oklch */ color: oklch(56.3% 0.181 143.1);
Tailwind
colors: {
  custom: {
    50: '#6cb060',
    500: '#118e18',
    950: '#000000',
  },
}
SCSS
$custom: #118e18;
$custom-light: #6cb060;
$custom-dark: #000000;
JSON
{
  "hex": "#118e18",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 123.36,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.18126,
    "h": 143.1
  },
  "luminance": 0.19531
}

Semantic roles & 50–950 ramp

primary
#118E18
secondary
#C238BB
accent
#33EAF5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #118E18

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

Preview Lab → · Contrast checker → · Palette generator →

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