#158431#158431

#158431 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.153 H 146.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#158431
RGBrgb(21, 132, 49)
HSLhsl(135, 73%, 30%)
HSVhsv(135, 84%, 52%)
CMYKcmyk(84.1%, 0%, 62.9%, 48.2%)
CIE-LABlab(48.11, -47.49, 35.79)
CIE-LCHlch(48.11, 59.47, 142.99°)
OKLaboklab(53.7% -0.1277 0.0842)
OKLCHoklch(53.7% 0.153 146.6)
XYZxyz(9.1142, 16.8826, 5.6834)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158431 #841568
analogous
#318415 #158431 #158468
triadic
#158431 #311584 #843115
tetradic
#158431 #153184 #841568 #846815
square
#158431 #153184 #841568 #846815
split-complementary
#158431 #681584 #841531
monochromatic
#041A0A #0D4F1D #158431 #1DB945 #35DF60

Accessibility & contrast

On white

4.80
#158431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#158431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158431
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158431#FFFFFF#000000##FFFFFF
##1584311.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #158431;
/* rgb */ color: rgb(21, 132, 49);
/* oklch */ color: oklch(53.7% 0.153 146.6);
Tailwind
colors: {
  custom: {
    50: '#69a96c',
    500: '#158431',
    950: '#000000',
  },
}
SCSS
$custom: #158431;
$custom-light: #69a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#158431",
  "rgb": {
    "r": 21,
    "g": 132,
    "b": 49
  },
  "hsl": {
    "h": 135.135,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.53698,
    "c": 0.15294,
    "h": 146.6
  },
  "luminance": 0.16884
}

Semantic roles & 50–950 ramp

primary
#158431
secondary
#B93C99
accent
#39C1EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071007
muted
#7A7F7A

Preview Lab

Preview with #158431

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

Preview Lab → · Contrast checker → · Palette generator →

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