#152012#152012

#152012 is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.8% C 0.031 H 139.1°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#152012
RGBrgb(21, 32, 18)
HSLhsl(107, 28%, 10%)
HSVhsv(107, 44%, 13%)
CMYKcmyk(34.4%, 0%, 43.8%, 87.5%)
CIE-LABlab(10.82, -8.48, 7.76)
CIE-LCHlch(10.82, 11.50, 137.51°)
OKLaboklab(22.82% -0.0231 0.02)
OKLCHoklch(22.82% 0.031 139.1)
XYZxyz(0.9349, 1.2361, 0.7615)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152012 #1D1220
analogous
#1C2012 #152012 #122016
triadic
#152012 #121520 #201215
tetradic
#152012 #121C20 #1D1220 #201612
square
#152012 #121C20 #1D1220 #201612
split-complementary
#152012 #161220 #20121C
monochromatic
#0D140B #0D140B #152012 #2F4728 #486E3E

Accessibility & contrast

On white

16.84
#152012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#152012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152012
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152012#FFFFFF#000000##FFFFFF
##1520121.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211E11
Deuteranopia (green-blind)
#1F1D13
Tritanopia (blue-blind)
#141F1C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #152012;
/* rgb */ color: rgb(21, 32, 18);
/* oklch */ color: oklch(22.8% 0.031 139.1);
Tailwind
colors: {
  custom: {
    50: '#525b50',
    500: '#152012',
    950: '#000000',
  },
}
SCSS
$custom: #152012;
$custom-light: #525b50;
$custom-dark: #000000;
JSON
{
  "hex": "#152012",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 107.143,
    "s": 28,
    "l": 9.804
  },
  "oklch": {
    "l": 0.22823,
    "c": 0.03059,
    "h": 139.1
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#152012
secondary
#4F3955
accent
#63C4B0
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020402
muted
#787978

Preview Lab

Preview with #152012

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

Preview Lab → · Contrast checker → · Palette generator →

#152012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva