#15742C#15742C

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

Color values

HEX#15742C
RGBrgb(21, 116, 44)
HSLhsl(135, 69%, 27%)
HSVhsv(135, 82%, 45%)
CMYKcmyk(81.9%, 0%, 62.1%, 54.5%)
CIE-LABlab(42.51, -42.52, 31.78)
CIE-LCHlch(42.51, 53.08, 143.22°)
OKLaboklab(49.03% -0.1144 0.0751)
OKLCHoklch(49.03% 0.137 146.7)
XYZxyz(7.0087, 12.8312, 4.4897)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15742C #74155D
analogous
#2E7415 #15742C #15745C
triadic
#15742C #2C1574 #742C15
tetradic
#15742C #152E74 #74155D #745C15
square
#15742C #152E74 #74155D #745C15
split-complementary
#15742C #5C1574 #74152E
monochromatic
#051A0A #0C4018 #15742C #1EA840 #2BD955

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##15742C#FFFFFF#000000##FFFFFF
##15742C1.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)
#766924
Deuteranopia (green-blind)
#6B6132
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #15742c;
/* rgb */ color: rgb(21, 116, 44);
/* oklch */ color: oklch(49.0% 0.137 146.7);
Tailwind
colors: {
  custom: {
    50: '#659d68',
    500: '#15742c',
    950: '#000000',
  },
}
SCSS
$custom: #15742c;
$custom-light: #659d68;
$custom-dark: #000000;
JSON
{
  "hex": "#15742c",
  "rgb": {
    "r": 21,
    "g": 116,
    "b": 44
  },
  "hsl": {
    "h": 134.526,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49027,
    "c": 0.13683,
    "h": 146.7
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#15742C
secondary
#AA3B8F
accent
#3CC1EC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #15742C

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

Preview Lab → · Contrast checker → · Palette generator →

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