#15742D#15742D

#15742D is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.136 H 147.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#15742D
RGBrgb(21, 116, 45)
HSLhsl(135, 69%, 27%)
HSVhsv(135, 82%, 45%)
CMYKcmyk(81.9%, 0%, 61.2%, 54.5%)
CIE-LABlab(42.52, -42.38, 31.29)
CIE-LCHlch(42.52, 52.68, 143.56°)
OKLaboklab(49.04% -0.114 0.0741)
OKLCHoklch(49.04% 0.136 147)
XYZxyz(7.0278, 12.8388, 4.5899)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15742D #74155C
analogous
#2D7415 #15742D #15745D
triadic
#15742D #2D1574 #742D15
tetradic
#15742D #152D74 #74155C #745D15
square
#15742D #152D74 #74155C #745D15
split-complementary
#15742D #5D1574 #74152D
monochromatic
#051A0A #0C4019 #15742D #1EA841 #2BD957

Accessibility & contrast

On white

5.89
#15742D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#15742D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #15742D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15742D#FFFFFF#000000##FFFFFF
##15742D1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766926
Deuteranopia (green-blind)
#6B6133
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #15742d;
/* rgb */ color: rgb(21, 116, 45);
/* oklch */ color: oklch(49.0% 0.136 147.0);
Tailwind
colors: {
  custom: {
    50: '#659d68',
    500: '#15742d',
    950: '#000000',
  },
}
SCSS
$custom: #15742d;
$custom-light: #659d68;
$custom-dark: #000000;
JSON
{
  "hex": "#15742d",
  "rgb": {
    "r": 21,
    "g": 116,
    "b": 45
  },
  "hsl": {
    "h": 135.158,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49041,
    "c": 0.13595,
    "h": 147
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#15742D
secondary
#AA3B8E
accent
#3CC0EC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #15742D

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

Preview Lab → · Contrast checker → · Palette generator →

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