#1B2012#1B2012

#1B2012 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.4% C 0.027 H 124.4°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#1B2012
RGBrgb(27, 32, 18)
HSLhsl(81, 28%, 10%)
HSVhsv(81, 44%, 13%)
CMYKcmyk(15.6%, 0%, 43.8%, 87.5%)
CIE-LABlab(11.34, -5.53, 8.57)
CIE-LCHlch(11.34, 10.20, 122.84°)
OKLaboklab(23.38% -0.015 0.0219)
OKLCHoklch(23.38% 0.027 124.4)
XYZxyz(1.0777, 1.3097, 0.7682)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2012 #171220
analogous
#201E12 #1B2012 #142012
triadic
#1B2012 #121B20 #20121B
tetradic
#1B2012 #12201E #171220 #201214
square
#1B2012 #12201E #171220 #201214
split-complementary
#1B2012 #121420 #1E1220
monochromatic
#11140B #11140B #1B2012 #3C4728 #5D6E3E

Accessibility & contrast

On white

16.64
#1B2012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1B2012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2012
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2012#FFFFFF#000000##FFFFFF
##1B20121.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E11
Deuteranopia (green-blind)
#211E13
Tritanopia (blue-blind)
#1C1F1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b2012;
/* rgb */ color: rgb(27, 32, 18);
/* oklch */ color: oklch(23.4% 0.027 124.4);
Tailwind
colors: {
  custom: {
    50: '#575b50',
    500: '#1b2012',
    950: '#000000',
  },
}
SCSS
$custom: #1b2012;
$custom-light: #575b50;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2012",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 81.429,
    "s": 28,
    "l": 9.804
  },
  "oklch": {
    "l": 0.23376,
    "c": 0.02652,
    "h": 124.4
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#1B2012
secondary
#433955
accent
#63C486
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#030402
muted
#787978

Preview Lab

Preview with #1B2012

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

Preview Lab → · Contrast checker → · Palette generator →

#1B2012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva