#158126#158126

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

Color values

HEX#158126
RGBrgb(21, 129, 38)
HSLhsl(129, 72%, 29%)
HSVhsv(129, 84%, 51%)
CMYKcmyk(83.7%, 0%, 70.5%, 49.4%)
CIE-LABlab(46.97, -47.76, 39.56)
CIE-LCHlch(46.97, 62.02, 140.36°)
OKLaboklab(52.72% -0.1289 0.091)
OKLCHoklch(52.72% 0.158 144.8)
XYZxyz(8.5088, 15.9988, 4.4730)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158126 #811570
analogous
#3A8115 #158126 #15815C
triadic
#158126 #261581 #812615
tetradic
#158126 #153A81 #811570 #815C15
square
#158126 #153A81 #811570 #815C15
split-complementary
#158126 #5C1581 #81153A
monochromatic
#041A08 #0C4C16 #158126 #1EB636 #33DE4E

Accessibility & contrast

On white

5.00
#158126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#158126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158126
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158126#FFFFFF#000000##FFFFFF
##1581261.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837419
Deuteranopia (green-blind)
#786C2F
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #158126;
/* rgb */ color: rgb(21, 129, 38);
/* oklch */ color: oklch(52.7% 0.158 144.8);
Tailwind
colors: {
  custom: {
    50: '#69a765',
    500: '#158126',
    950: '#000000',
  },
}
SCSS
$custom: #158126;
$custom-light: #69a765;
$custom-dark: #000000;
JSON
{
  "hex": "#158126",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 129.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.15776,
    "h": 144.8
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#158126
secondary
#B63CA3
accent
#39D2EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #158126

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

Preview Lab → · Contrast checker → · Palette generator →

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