#158018#158018

#158018 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.3% C 0.165 H 143.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#158018
RGBrgb(21, 128, 24)
HSLhsl(122, 72%, 29%)
HSVhsv(122, 84%, 50%)
CMYKcmyk(83.6%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.53, -48.65, 44.49)
CIE-LCHlch(46.53, 65.93, 137.56°)
OKLaboklab(52.32% -0.1319 0.0994)
OKLCHoklch(52.32% 0.165 143)
XYZxyz(8.1928, 15.6627, 3.4554)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158018 #80157D
analogous
#488015 #158018 #15804E
triadic
#158018 #181580 #801815
tetradic
#158018 #154880 #80157D #804E15
square
#158018 #154880 #80157D #804E15
split-complementary
#158018 #4E1580 #801548
monochromatic
#041A05 #0C4B0E #158018 #1EB522 #32DD37

Accessibility & contrast

On white

5.08
#158018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#158018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158018
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158018#FFFFFF#000000##FFFFFF
##1580181.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #158018;
/* rgb */ color: rgb(21, 128, 24);
/* oklch */ color: oklch(52.3% 0.165 143.0);
Tailwind
colors: {
  custom: {
    50: '#69a65e',
    500: '#158018',
    950: '#000000',
  },
}
SCSS
$custom: #158018;
$custom-light: #69a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#158018",
  "rgb": {
    "r": 21,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 121.682,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.16517,
    "h": 143
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#158018
secondary
#B53CB2
accent
#39E9EF
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #158018

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

Preview Lab → · Contrast checker → · Palette generator →

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