#15842B#15842B

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

Color values

HEX#15842B
RGBrgb(21, 132, 43)
HSLhsl(132, 73%, 30%)
HSVhsv(132, 84%, 52%)
CMYKcmyk(84.1%, 0%, 67.4%, 48.2%)
CIE-LABlab(48.05, -48.22, 38.53)
CIE-LCHlch(48.05, 61.72, 141.38°)
OKLaboklab(53.63% -0.1299 0.0894)
OKLCHoklch(53.63% 0.158 145.5)
XYZxyz(8.9959, 16.8353, 5.0604)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15842B #84156E
analogous
#368415 #15842B #158463
triadic
#15842B #2B1584 #842B15
tetradic
#15842B #153684 #84156E #846315
square
#15842B #153684 #84156E #846315
split-complementary
#15842B #631584 #841536
monochromatic
#041A09 #0D4F1A #15842B #1DB93C #35DF56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##15842B#FFFFFF#000000##FFFFFF
##15842B1.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)
#867720
Deuteranopia (green-blind)
#7A6F33
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #15842b;
/* rgb */ color: rgb(21, 132, 43);
/* oklch */ color: oklch(53.6% 0.158 145.5);
Tailwind
colors: {
  custom: {
    50: '#69a968',
    500: '#15842b',
    950: '#000000',
  },
}
SCSS
$custom: #15842b;
$custom-light: #69a968;
$custom-dark: #000000;
JSON
{
  "hex": "#15842b",
  "rgb": {
    "r": 21,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 131.892,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.1577,
    "h": 145.5
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#15842B
secondary
#B93CA0
accent
#39CBEF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #15842B

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

Preview Lab → · Contrast checker → · Palette generator →

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