#15742B#15742B

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

Color values

HEX#15742B
RGBrgb(21, 116, 43)
HSLhsl(134, 69%, 27%)
HSVhsv(134, 82%, 45%)
CMYKcmyk(81.9%, 0%, 62.9%, 54.5%)
CIE-LABlab(42.50, -42.65, 32.27)
CIE-LCHlch(42.50, 53.48, 142.89°)
OKLaboklab(49.01% -0.1148 0.076)
OKLCHoklch(49.01% 0.138 146.5)
XYZxyz(6.9902, 12.8238, 4.3919)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15742B #74155E
analogous
#2F7415 #15742B #15745B
triadic
#15742B #2B1574 #742B15
tetradic
#15742B #152F74 #74155E #745B15
square
#15742B #152F74 #74155E #745B15
split-complementary
#15742B #5B1574 #74152F
monochromatic
#051A0A #0C4018 #15742B #1EA83E #2BD953

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##15742B#FFFFFF#000000##FFFFFF
##15742B1.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)
#766923
Deuteranopia (green-blind)
#6B6131
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #15742b;
/* rgb */ color: rgb(21, 116, 43);
/* oklch */ color: oklch(49.0% 0.138 146.5);
Tailwind
colors: {
  custom: {
    50: '#659d67',
    500: '#15742b',
    950: '#000000',
  },
}
SCSS
$custom: #15742b;
$custom-light: #659d67;
$custom-dark: #000000;
JSON
{
  "hex": "#15742b",
  "rgb": {
    "r": 21,
    "g": 116,
    "b": 43
  },
  "hsl": {
    "h": 133.895,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49014,
    "c": 0.13769,
    "h": 146.5
  },
  "luminance": 0.12825
}

Semantic roles & 50–950 ramp

primary
#15742B
secondary
#AA3B90
accent
#3CC3EC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #15742B

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

Preview Lab → · Contrast checker → · Palette generator →

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