#1C2002#1C2002

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

Color values

HEX#1C2002
RGBrgb(28, 32, 2)
HSLhsl(68, 88%, 7%)
HSVhsv(68, 94%, 13%)
CMYKcmyk(12.5%, 0%, 93.8%, 87.5%)
CIE-LABlab(11.17, -7.30, 15.64)
CIE-LCHlch(11.17, 17.26, 115.01°)
OKLaboklab(23.17% -0.0222 0.0445)
OKLCHoklch(23.17% 0.05 116.5)
XYZxyz(1.0064, 1.2843, 0.2523)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2002 #060220
analogous
#201502 #1C2002 #0D2002
triadic
#1C2002 #021C20 #20021C
tetradic
#1C2002 #022015 #060220 #20020D
square
#1C2002 #022015 #060220 #20020D
split-complementary
#1C2002 #020D20 #150220
monochromatic
#191D02 #191D02 #1C2002 #4E5A06 #819309

Accessibility & contrast

On white

16.71
#1C2002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2002
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2002#FFFFFF#000000##FFFFFF
##1C20021.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E00
Deuteranopia (green-blind)
#231E04
Tritanopia (blue-blind)
#1F1D1A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1c2002;
/* rgb */ color: rgb(28, 32, 2);
/* oklch */ color: oklch(23.2% 0.050 116.5);
Tailwind
colors: {
  custom: {
    50: '#585b47',
    500: '#1c2002',
    950: '#000000',
  },
}
SCSS
$custom: #1c2002;
$custom-light: #585b47;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2002",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 68,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.23169,
    "c": 0.04969,
    "h": 116.5
  },
  "luminance": 0.01284
}

Semantic roles & 50–950 ramp

primary
#1C2002
secondary
#221866
accent
#29FE46
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1C2002

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

Preview Lab → · Contrast checker → · Palette generator →

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