#15512A#15512A

#15512A is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.089 H 151.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#15512A
RGBrgb(21, 81, 42)
HSLhsl(141, 59%, 20%)
HSVhsv(141, 74%, 32%)
CMYKcmyk(74.1%, 0%, 48.1%, 68.2%)
CIE-LABlab(29.94, -29.03, 17.51)
CIE-LCHlch(29.94, 33.90, 148.89°)
OKLaboklab(38.62% -0.0782 0.0431)
OKLCHoklch(38.62% 0.089 151.1)
XYZxyz(3.6693, 6.2111, 3.1955)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15512A #51153C
analogous
#1E5115 #15512A #155148
triadic
#15512A #2A1551 #512A15
tetradic
#15512A #151E51 #51153C #514815
square
#15512A #151E51 #51153C #514815
split-complementary
#15512A #481551 #51151E
monochromatic
#06180D #082011 #15512A #228243 #2EB25C

Accessibility & contrast

On white

9.37
#15512A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#15512A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15512A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15512A#FFFFFF#000000##FFFFFF
##15512A1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A27
Deuteranopia (green-blind)
#4A442D
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #15512a;
/* rgb */ color: rgb(21, 81, 42);
/* oklch */ color: oklch(38.6% 0.089 151.1);
Tailwind
colors: {
  custom: {
    50: '#5b8264',
    500: '#15512a',
    950: '#000000',
  },
}
SCSS
$custom: #15512a;
$custom-light: #5b8264;
$custom-dark: #000000;
JSON
{
  "hex": "#15512a",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 42
  },
  "hsl": {
    "h": 141,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.08935,
    "h": 151.1
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15512A

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

Preview Lab → · Contrast checker → · Palette generator →

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