#158420#158420

#158420 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.5% C 0.165 H 143.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#158420
RGBrgb(21, 132, 32)
HSLhsl(126, 73%, 30%)
HSVhsv(126, 84%, 52%)
CMYKcmyk(84.1%, 0%, 75.8%, 48.2%)
CIE-LABlab(47.96, -49.33, 43.04)
CIE-LCHlch(47.96, 65.47, 138.89°)
OKLaboklab(53.53% -0.1334 0.0975)
OKLCHoklch(53.53% 0.165 143.8)
XYZxyz(8.8206, 16.7652, 4.1373)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158420 #841579
analogous
#418415 #158420 #158458
triadic
#158420 #201584 #842015
tetradic
#158420 #154184 #841579 #845815
square
#158420 #154184 #841579 #845815
split-complementary
#158420 #581584 #841541
monochromatic
#041A06 #0D4F13 #158420 #1DB92D #35DF45

Accessibility & contrast

On white

4.82
#158420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#158420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158420
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158420#FFFFFF#000000##FFFFFF
##1584201.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770D
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #158420;
/* rgb */ color: rgb(21, 132, 32);
/* oklch */ color: oklch(53.5% 0.165 143.8);
Tailwind
colors: {
  custom: {
    50: '#6aa962',
    500: '#158420',
    950: '#000000',
  },
}
SCSS
$custom: #158420;
$custom-light: #6aa962;
$custom-dark: #000000;
JSON
{
  "hex": "#158420",
  "rgb": {
    "r": 21,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 125.946,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.53526,
    "c": 0.16523,
    "h": 143.8
  },
  "luminance": 0.16766
}

Semantic roles & 50–950 ramp

primary
#158420
secondary
#B93CAC
accent
#39DDEF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #158420

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

Preview Lab → · Contrast checker → · Palette generator →

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