#15842D#15842D

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

Color values

HEX#15842D
RGBrgb(21, 132, 45)
HSLhsl(133, 73%, 30%)
HSVhsv(133, 84%, 52%)
CMYKcmyk(84.1%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.07, -47.99, 37.63)
CIE-LCHlch(48.07, 60.99, 141.90°)
OKLaboklab(53.65% -0.1292 0.0877)
OKLCHoklch(53.65% 0.156 145.8)
XYZxyz(9.0335, 16.8503, 5.2584)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15842D #84156C
analogous
#348415 #15842D #158465
triadic
#15842D #2D1584 #842D15
tetradic
#15842D #153484 #84156C #846515
square
#15842D #153484 #84156C #846515
split-complementary
#15842D #651584 #841534
monochromatic
#041A09 #0D4F1B #15842D #1DB93F #35DF59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##15842D#FFFFFF#000000##FFFFFF
##15842D1.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)
#867723
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #15842d;
/* rgb */ color: rgb(21, 132, 45);
/* oklch */ color: oklch(53.6% 0.156 145.8);
Tailwind
colors: {
  custom: {
    50: '#69a96a',
    500: '#15842d',
    950: '#000000',
  },
}
SCSS
$custom: #15842d;
$custom-light: #69a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#15842d",
  "rgb": {
    "r": 21,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 132.973,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.15616,
    "h": 145.8
  },
  "luminance": 0.16851
}

Semantic roles & 50–950 ramp

primary
#15842D
secondary
#B93C9E
accent
#39C8EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#071007
muted
#7A7F7A

Preview Lab

Preview with #15842D

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

Preview Lab → · Contrast checker → · Palette generator →

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