#118018#118018

#118018 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.166 H 143.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#118018
RGBrgb(17, 128, 24)
HSLhsl(124, 77%, 28%)
HSVhsv(124, 87%, 50%)
CMYKcmyk(86.7%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.48, -49.12, 44.42)
CIE-LCHlch(46.48, 66.23, 137.88°)
OKLaboklab(52.26% -0.133 0.0993)
OKLCHoklch(52.26% 0.166 143.3)
XYZxyz(8.1147, 15.6224, 3.4517)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118018 #801179
analogous
#418011 #118018 #11804F
triadic
#118018 #181180 #801811
tetradic
#118018 #114180 #801179 #804F11
square
#118018 #114180 #801179 #804F11
split-complementary
#118018 #4F1180 #801141
monochromatic
#041B05 #0A4A0E #118018 #18B622 #29E335

Accessibility & contrast

On white

5.09
#118018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#118018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #118018
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118018#FFFFFF#000000##FFFFFF
##1180181.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #118018;
/* rgb */ color: rgb(17, 128, 24);
/* oklch */ color: oklch(52.3% 0.166 143.3);
Tailwind
colors: {
  custom: {
    50: '#68a65e',
    500: '#118018',
    950: '#000000',
  },
}
SCSS
$custom: #118018;
$custom-light: #68a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#118018",
  "rgb": {
    "r": 17,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 123.784,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52256,
    "c": 0.166,
    "h": 143.3
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#118018
secondary
#B637AE
accent
#35E7F3
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #118018

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

Preview Lab → · Contrast checker → · Palette generator →

#118018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva