#158038#158038

#158038 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.142 H 148.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#158038
RGBrgb(21, 128, 56)
HSLhsl(140, 72%, 29%)
HSVhsv(140, 84%, 50%)
CMYKcmyk(83.6%, 0%, 56.3%, 49.8%)
CIE-LABlab(46.82, -45.08, 30.77)
CIE-LCHlch(46.82, 54.58, 145.69°)
OKLaboklab(52.65% -0.121 0.0738)
OKLCHoklch(52.65% 0.142 148.6)
XYZxyz(8.7415, 15.8822, 6.3455)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158038 #80155D
analogous
#288015 #158038 #15806E
triadic
#158038 #381580 #803815
tetradic
#158038 #152880 #80155D #806E15
square
#158038 #152880 #80155D #806E15
split-complementary
#158038 #6E1580 #801528
monochromatic
#041A0C #0C4B21 #158038 #1EB54F #32DD6A

Accessibility & contrast

On white

5.03
#158038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#158038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158038
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158038#FFFFFF#000000##FFFFFF
##1580381.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817431
Deuteranopia (green-blind)
#756C3E
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #158038;
/* rgb */ color: rgb(21, 128, 56);
/* oklch */ color: oklch(52.7% 0.142 148.6);
Tailwind
colors: {
  custom: {
    50: '#68a670',
    500: '#158038',
    950: '#000000',
  },
}
SCSS
$custom: #158038;
$custom-light: #68a670;
$custom-dark: #000000;
JSON
{
  "hex": "#158038",
  "rgb": {
    "r": 21,
    "g": 128,
    "b": 56
  },
  "hsl": {
    "h": 139.626,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52652,
    "c": 0.14175,
    "h": 148.6
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#158038
secondary
#B53C8D
accent
#39B3EF
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #158038

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

Preview Lab → · Contrast checker → · Palette generator →

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