#1B2003#1B2003

#1B2003 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.1% C 0.049 H 118.4°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#1B2003
RGBrgb(27, 32, 3)
HSLhsl(70, 83%, 7%)
HSVhsv(70, 91%, 13%)
CMYKcmyk(15.6%, 0%, 90.6%, 87.5%)
CIE-LABlab(11.08, -7.72, 15.10)
CIE-LCHlch(11.08, 16.96, 117.08°)
OKLaboklab(23.08% -0.0231 0.0427)
OKLCHoklch(23.08% 0.049 118.4)
XYZxyz(0.9850, 1.2726, 0.2799)
Luminance0.0127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2003 #080320
analogous
#201703 #1B2003 #0D2003
triadic
#1B2003 #031B20 #20031B
tetradic
#1B2003 #032017 #080320 #20030D
square
#1B2003 #032017 #080320 #20030D
split-complementary
#1B2003 #030D20 #170320
monochromatic
#181C03 #181C03 #1B2003 #4A5808 #79900D

Accessibility & contrast

On white

16.74
#1B2003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1B2003 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2003
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2003#FFFFFF#000000##FFFFFF
##1B20031.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E01
Deuteranopia (green-blind)
#221E05
Tritanopia (blue-blind)
#1D1E1A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b2003;
/* rgb */ color: rgb(27, 32, 3);
/* oklch */ color: oklch(23.1% 0.049 118.4);
Tailwind
colors: {
  custom: {
    50: '#575b48',
    500: '#1b2003',
    950: '#000000',
  },
}
SCSS
$custom: #1b2003;
$custom-light: #575b48;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2003",
  "rgb": {
    "r": 27,
    "g": 32,
    "b": 3
  },
  "hsl": {
    "h": 70.345,
    "s": 82.857,
    "l": 6.863
  },
  "oklch": {
    "l": 0.23083,
    "c": 0.04857,
    "h": 118.4
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#1B2003
secondary
#271B64
accent
#2FF952
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1B2003

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

Preview Lab → · Contrast checker → · Palette generator →

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