#158120#158120

#158120 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.162 H 143.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#158120
RGBrgb(21, 129, 32)
HSLhsl(126, 72%, 29%)
HSVhsv(126, 84%, 51%)
CMYKcmyk(83.7%, 0%, 75.2%, 49.4%)
CIE-LABlab(46.93, -48.34, 41.99)
CIE-LCHlch(46.93, 64.03, 139.03°)
OKLaboklab(52.66% -0.1307 0.0953)
OKLCHoklch(52.66% 0.162 143.9)
XYZxyz(8.4197, 15.9632, 4.0037)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158120 #811576
analogous
#408115 #158120 #158156
triadic
#158120 #201581 #812015
tetradic
#158120 #154081 #811576 #815615
square
#158120 #154081 #811576 #815615
split-complementary
#158120 #561581 #811540
monochromatic
#041A07 #0C4C13 #158120 #1EB62D #33DE44

Accessibility & contrast

On white

5.01
#158120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#158120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158120
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158120#FFFFFF#000000##FFFFFF
##1581201.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #158120;
/* rgb */ color: rgb(21, 129, 32);
/* oklch */ color: oklch(52.7% 0.162 143.9);
Tailwind
colors: {
  custom: {
    50: '#69a762',
    500: '#158120',
    950: '#000000',
  },
}
SCSS
$custom: #158120;
$custom-light: #69a762;
$custom-dark: #000000;
JSON
{
  "hex": "#158120",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 126.111,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52663,
    "c": 0.16177,
    "h": 143.9
  },
  "luminance": 0.15964
}

Semantic roles & 50–950 ramp

primary
#158120
secondary
#B63CA9
accent
#39DCEF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #158120

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

Preview Lab → · Contrast checker → · Palette generator →

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