#15742A#15742A

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

Color values

HEX#15742A
RGBrgb(21, 116, 42)
HSLhsl(133, 69%, 27%)
HSVhsv(133, 82%, 45%)
CMYKcmyk(81.9%, 0%, 63.8%, 54.5%)
CIE-LABlab(42.49, -42.79, 32.75)
CIE-LCHlch(42.49, 53.88, 142.57°)
OKLaboklab(49% -0.1152 0.077)
OKLCHoklch(49% 0.139 146.3)
XYZxyz(6.9720, 12.8165, 4.2964)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15742A #74155F
analogous
#307415 #15742A #15745A
triadic
#15742A #2A1574 #742A15
tetradic
#15742A #153074 #74155F #745A15
square
#15742A #153074 #74155F #745A15
split-complementary
#15742A #5A1574 #741530
monochromatic
#051A09 #0C4017 #15742A #1EA83D #2BD951

Accessibility & contrast

On white

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

On black

3.56
#15742A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##15742A#FFFFFF#000000##FFFFFF
##15742A1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15742a;
/* rgb */ color: rgb(21, 116, 42);
/* oklch */ color: oklch(49.0% 0.139 146.3);
Tailwind
colors: {
  custom: {
    50: '#659d66',
    500: '#15742a',
    950: '#000000',
  },
}
SCSS
$custom: #15742a;
$custom-light: #659d66;
$custom-dark: #000000;
JSON
{
  "hex": "#15742a",
  "rgb": {
    "r": 21,
    "g": 116,
    "b": 42
  },
  "hsl": {
    "h": 133.263,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49002,
    "c": 0.13854,
    "h": 146.3
  },
  "luminance": 0.12817
}

Semantic roles & 50–950 ramp

primary
#15742A
secondary
#AA3B91
accent
#3CC5EC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #15742A

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

Preview Lab → · Contrast checker → · Palette generator →

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