#1B2017#1B2017

#1B2017 is a very dark, near-neutral yellow-green. Relative luminance 0.013; OKLCH L 23.5% C 0.018 H 131.4°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#1B2017
RGBrgb(27, 32, 23)
HSLhsl(93, 16%, 11%)
HSVhsv(93, 28%, 13%)
CMYKcmyk(15.6%, 0%, 28.1%, 87.5%)
CIE-LABlab(11.47, -4.52, 5.37)
CIE-LCHlch(11.47, 7.02, 130.07°)
OKLaboklab(23.52% -0.0121 0.0137)
OKLCHoklch(23.52% 0.018 131.4)
XYZxyz(1.1231, 1.3279, 1.0076)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2017 #1C1720
analogous
#1F2017 #1B2017 #172017
triadic
#1B2017 #171B20 #20171B
tetradic
#1B2017 #171F20 #1C1720 #201717
square
#1B2017 #171F20 #1C1720 #201717
split-complementary
#1B2017 #171720 #20171F
monochromatic
#0F120D #0F120D #1B2017 #394431 #57674A

Accessibility & contrast

On white

16.59
#1B2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1B2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2017
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2017#FFFFFF#000000##FFFFFF
##1B20171.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F16
Deuteranopia (green-blind)
#201E17
Tritanopia (blue-blind)
#1B1F1E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b2017;
/* rgb */ color: rgb(27, 32, 23);
/* oklch */ color: oklch(23.5% 0.018 131.4);
Tailwind
colors: {
  custom: {
    50: '#575b53',
    500: '#1b2017',
    950: '#000000',
  },
}
SCSS
$custom: #1b2017;
$custom-light: #575b53;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2017",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 93.333,
    "s": 16.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.23518,
    "c": 0.01832,
    "h": 131.4
  },
  "luminance": 0.01328
}

Semantic roles & 50–950 ramp

primary
#1B2017
secondary
#4A4152
accent
#6FB998
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#030402
muted
#787978

Preview Lab

Preview with #1B2017

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

Preview Lab → · Contrast checker → · Palette generator →

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