#15842C#15842C

#15842C is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.157 H 145.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#15842C
RGBrgb(21, 132, 44)
HSLhsl(132, 73%, 30%)
HSVhsv(132, 84%, 52%)
CMYKcmyk(84.1%, 0%, 66.7%, 48.2%)
CIE-LABlab(48.06, -48.11, 38.08)
CIE-LCHlch(48.06, 61.36, 141.63°)
OKLaboklab(53.64% -0.1296 0.0886)
OKLCHoklch(53.64% 0.157 145.6)
XYZxyz(9.0145, 16.8427, 5.1583)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15842C #84156D
analogous
#368415 #15842C #158463
triadic
#15842C #2C1584 #842C15
tetradic
#15842C #153684 #84156D #846315
square
#15842C #153684 #84156D #846315
split-complementary
#15842C #631584 #841536
monochromatic
#041A09 #0D4F1A #15842C #1DB93E #35DF58

Accessibility & contrast

On white

4.81
#15842C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#15842C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #15842C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15842C#FFFFFF#000000##FFFFFF
##15842C1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15842c;
/* rgb */ color: rgb(21, 132, 44);
/* oklch */ color: oklch(53.6% 0.157 145.6);
Tailwind
colors: {
  custom: {
    50: '#69a969',
    500: '#15842c',
    950: '#000000',
  },
}
SCSS
$custom: #15842c;
$custom-light: #69a969;
$custom-dark: #000000;
JSON
{
  "hex": "#15842c",
  "rgb": {
    "r": 21,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 132.432,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.53639,
    "c": 0.15693,
    "h": 145.6
  },
  "luminance": 0.16844
}

Semantic roles & 50–950 ramp

primary
#15842C
secondary
#B93C9F
accent
#39C9EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071006
muted
#7A7F7A

Preview Lab

Preview with #15842C

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

Preview Lab → · Contrast checker → · Palette generator →

#15842C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva