#158121#158121

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

Color values

HEX#158121
RGBrgb(21, 129, 33)
HSLhsl(127, 72%, 29%)
HSVhsv(127, 84%, 51%)
CMYKcmyk(83.7%, 0%, 74.4%, 49.4%)
CIE-LABlab(46.93, -48.25, 41.60)
CIE-LCHlch(46.93, 63.71, 139.24°)
OKLaboklab(52.67% -0.1304 0.0946)
OKLCHoklch(52.67% 0.161 144)
XYZxyz(8.4335, 15.9687, 4.0763)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158121 #811575
analogous
#3F8115 #158121 #158157
triadic
#158121 #211581 #812115
tetradic
#158121 #153F81 #811575 #815715
square
#158121 #153F81 #811575 #815715
split-complementary
#158121 #571581 #81153F
monochromatic
#041A07 #0C4C14 #158121 #1EB62E #33DE46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158121#FFFFFF#000000##FFFFFF
##1581211.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)
#847411
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #158121;
/* rgb */ color: rgb(21, 129, 33);
/* oklch */ color: oklch(52.7% 0.161 144.0);
Tailwind
colors: {
  custom: {
    50: '#69a763',
    500: '#158121',
    950: '#000000',
  },
}
SCSS
$custom: #158121;
$custom-light: #69a763;
$custom-dark: #000000;
JSON
{
  "hex": "#158121",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 126.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.16114,
    "h": 144
  },
  "luminance": 0.1597
}

Semantic roles & 50–950 ramp

primary
#158121
secondary
#B63CA8
accent
#39DBEF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #158121

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

Preview Lab → · Contrast checker → · Palette generator →

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