#1C2004#1C2004

#1C2004 is a very dark, muted yellow. Relative luminance 0.013; OKLCH L 23.2% C 0.047 H 116.8°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#1C2004
RGBrgb(28, 32, 4)
HSLhsl(69, 78%, 7%)
HSVhsv(69, 88%, 13%)
CMYKcmyk(12.5%, 0%, 87.5%, 87.5%)
CIE-LABlab(11.20, -7.04, 14.87)
CIE-LCHlch(11.20, 16.45, 115.32°)
OKLaboklab(23.2% -0.021 0.0415)
OKLCHoklch(23.2% 0.047 116.8)
XYZxyz(1.0173, 1.2887, 0.3100)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2004 #080420
analogous
#201604 #1C2004 #0E2004
triadic
#1C2004 #041C20 #20041C
tetradic
#1C2004 #042016 #080420 #20040E
square
#1C2004 #042016 #080420 #20040E
split-complementary
#1C2004 #040E20 #160420
monochromatic
#181B03 #181B03 #1C2004 #4C560B #7B8D12

Accessibility & contrast

On white

16.70
#1C2004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2004
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2004#FFFFFF#000000##FFFFFF
##1C20041.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E02
Deuteranopia (green-blind)
#231E05
Tritanopia (blue-blind)
#1E1E1A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1c2004;
/* rgb */ color: rgb(28, 32, 4);
/* oklch */ color: oklch(23.2% 0.047 116.8);
Tailwind
colors: {
  custom: {
    50: '#585b48',
    500: '#1c2004',
    950: '#000000',
  },
}
SCSS
$custom: #1c2004;
$custom-light: #585b48;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2004",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 68.571,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.23204,
    "c": 0.04654,
    "h": 116.8
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#1C2004
secondary
#271D63
accent
#34F44F
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1C2004

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

Preview Lab → · Contrast checker → · Palette generator →

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