#15512C#15512C

#15512C is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.087 H 152.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#15512C
RGBrgb(21, 81, 44)
HSLhsl(143, 59%, 20%)
HSVhsv(143, 74%, 32%)
CMYKcmyk(74.1%, 0%, 45.7%, 68.2%)
CIE-LABlab(29.97, -28.62, 16.36)
CIE-LCHlch(29.97, 32.96, 150.25°)
OKLaboklab(38.66% -0.0772 0.0405)
OKLCHoklch(38.66% 0.087 152.3)
XYZxyz(3.7060, 6.2257, 3.3888)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15512C #51153A
analogous
#1C5115 #15512C #15514A
triadic
#15512C #2C1551 #512C15
tetradic
#15512C #151C51 #51153A #514A15
square
#15512C #151C51 #51153A #514A15
split-complementary
#15512C #4A1551 #51151C
monochromatic
#06180D #082012 #15512C #228246 #2EB261

Accessibility & contrast

On white

9.35
#15512C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#15512C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15512C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15512C#FFFFFF#000000##FFFFFF
##15512C1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A29
Deuteranopia (green-blind)
#4A442E
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #15512c;
/* rgb */ color: rgb(21, 81, 44);
/* oklch */ color: oklch(38.7% 0.087 152.3);
Tailwind
colors: {
  custom: {
    50: '#5b8265',
    500: '#15512c',
    950: '#000000',
  },
}
SCSS
$custom: #15512c;
$custom-light: #5b8265;
$custom-dark: #000000;
JSON
{
  "hex": "#15512c",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 44
  },
  "hsl": {
    "h": 143,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38658,
    "c": 0.0872,
    "h": 152.3
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#15512C
secondary
#89396A
accent
#46A6E2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #15512C

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

Preview Lab → · Contrast checker → · Palette generator →

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