#158122#158122

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

Color values

HEX#158122
RGBrgb(21, 129, 34)
HSLhsl(127, 72%, 29%)
HSVhsv(127, 84%, 51%)
CMYKcmyk(83.7%, 0%, 73.6%, 49.4%)
CIE-LABlab(46.94, -48.16, 41.21)
CIE-LCHlch(46.94, 63.38, 139.45°)
OKLaboklab(52.68% -0.1301 0.0939)
OKLCHoklch(52.68% 0.16 144.2)
XYZxyz(8.4477, 15.9744, 4.1512)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158122 #811574
analogous
#3E8115 #158122 #158158
triadic
#158122 #221581 #812215
tetradic
#158122 #153E81 #811574 #815815
square
#158122 #153E81 #811574 #815815
split-complementary
#158122 #581581 #81153E
monochromatic
#041A07 #0C4C14 #158122 #1EB630 #33DE47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158122#FFFFFF#000000##FFFFFF
##1581221.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)
#847412
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #158122;
/* rgb */ color: rgb(21, 129, 34);
/* oklch */ color: oklch(52.7% 0.160 144.2);
Tailwind
colors: {
  custom: {
    50: '#69a763',
    500: '#158122',
    950: '#000000',
  },
}
SCSS
$custom: #158122;
$custom-light: #69a763;
$custom-dark: #000000;
JSON
{
  "hex": "#158122",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 127.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.16049,
    "h": 144.2
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#158122
secondary
#B63CA7
accent
#39D9EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #158122

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

Preview Lab → · Contrast checker → · Palette generator →

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