#1C2102#1C2102

#1C2102 is a very dark, muted yellow. Relative luminance 0.013; OKLCH L 23.5% C 0.051 H 118.0°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#1C2102
RGBrgb(28, 33, 2)
HSLhsl(70, 89%, 7%)
HSVhsv(70, 94%, 13%)
CMYKcmyk(15.2%, 0%, 93.9%, 87.1%)
CIE-LABlab(11.55, -7.95, 16.17)
CIE-LCHlch(11.55, 18.02, 116.19°)
OKLaboklab(23.48% -0.024 0.0452)
OKLCHoklch(23.48% 0.051 118)
XYZxyz(1.0337, 1.3390, 0.2614)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2102 #070221
analogous
#211702 #1C2102 #0D2102
triadic
#1C2102 #021C21 #21021C
tetradic
#1C2102 #022117 #070221 #21020D
square
#1C2102 #022117 #070221 #21020D
split-complementary
#1C2102 #020D21 #170221
monochromatic
#181D02 #181D02 #1C2102 #4D5B05 #7E9409

Accessibility & contrast

On white

16.56
#1C2102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2102
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2102#FFFFFF#000000##FFFFFF
##1C21021.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F00
Deuteranopia (green-blind)
#231F04
Tritanopia (blue-blind)
#1E1E1B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1c2102;
/* rgb */ color: rgb(28, 33, 2);
/* oklch */ color: oklch(23.5% 0.051 118.0);
Tailwind
colors: {
  custom: {
    50: '#585c47',
    500: '#1c2102',
    950: '#000000',
  },
}
SCSS
$custom: #1c2102;
$custom-light: #585c47;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2102",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 69.677,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.23475,
    "c": 0.05116,
    "h": 118
  },
  "luminance": 0.01339
}

Semantic roles & 50–950 ramp

primary
#1C2102
secondary
#251867
accent
#29FF4C
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1C2102

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

Preview Lab → · Contrast checker → · Palette generator →

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