#1B2104#1B2104

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

Color values

HEX#1B2104
RGBrgb(27, 33, 4)
HSLhsl(72, 78%, 7%)
HSVhsv(72, 88%, 13%)
CMYKcmyk(18.2%, 0%, 87.9%, 87.1%)
CIE-LABlab(11.48, -8.24, 15.25)
CIE-LCHlch(11.48, 17.33, 118.39°)
OKLaboklab(23.41% -0.0243 0.0421)
OKLCHoklch(23.41% 0.049 120)
XYZxyz(1.0178, 1.3295, 0.3178)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2104 #0A0421
analogous
#211904 #1B2104 #0D2104
triadic
#1B2104 #041B21 #21041B
tetradic
#1B2104 #042119 #0A0421 #21040D
square
#1B2104 #042119 #0A0421 #21040D
split-complementary
#1B2104 #040D21 #190421
monochromatic
#161B03 #161B03 #1B2104 #48580B #748E11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B2104#FFFFFF#000000##FFFFFF
##1B21041.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)
#241E02
Deuteranopia (green-blind)
#231F06
Tritanopia (blue-blind)
#1D1F1B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b2104;
/* rgb */ color: rgb(27, 33, 4);
/* oklch */ color: oklch(23.4% 0.049 120.0);
Tailwind
colors: {
  custom: {
    50: '#575c48',
    500: '#1b2104',
    950: '#000000',
  },
}
SCSS
$custom: #1b2104;
$custom-light: #575c48;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2104",
  "rgb": {
    "r": 27,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 72.414,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.23408,
    "c": 0.0486,
    "h": 120
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#1B2104
secondary
#2C1D64
accent
#33F55B
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1B2104

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

Preview Lab → · Contrast checker → · Palette generator →

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