#15742F#15742F

#15742F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.134 H 147.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#15742F
RGBrgb(21, 116, 47)
HSLhsl(136, 69%, 27%)
HSVhsv(136, 82%, 45%)
CMYKcmyk(81.9%, 0%, 59.5%, 54.5%)
CIE-LABlab(42.54, -42.09, 30.30)
CIE-LCHlch(42.54, 51.86, 144.25°)
OKLaboklab(49.07% -0.1131 0.0721)
OKLCHoklch(49.07% 0.134 147.5)
XYZxyz(7.0672, 12.8546, 4.7975)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15742F #74155A
analogous
#2B7415 #15742F #15745F
triadic
#15742F #2F1574 #742F15
tetradic
#15742F #152B74 #74155A #745F15
square
#15742F #152B74 #74155A #745F15
split-complementary
#15742F #5F1574 #74152B
monochromatic
#051A0A #0C401A #15742F #1EA844 #2BD95A

Accessibility & contrast

On white

5.88
#15742F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #15742F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15742F#FFFFFF#000000##FFFFFF
##15742F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756928
Deuteranopia (green-blind)
#6B6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #15742f;
/* rgb */ color: rgb(21, 116, 47);
/* oklch */ color: oklch(49.1% 0.134 147.5);
Tailwind
colors: {
  custom: {
    50: '#659d6a',
    500: '#15742f',
    950: '#000000',
  },
}
SCSS
$custom: #15742f;
$custom-light: #659d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#15742f",
  "rgb": {
    "r": 21,
    "g": 116,
    "b": 47
  },
  "hsl": {
    "h": 136.421,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49068,
    "c": 0.13416,
    "h": 147.5
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#15742F
secondary
#AA3B8C
accent
#3CBCEC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #15742F

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

Preview Lab → · Contrast checker → · Palette generator →

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