#212303#212303

#212303 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.6% C 0.050 H 112.9°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#212303
RGBrgb(33, 35, 3)
HSLhsl(64, 84%, 7%)
HSVhsv(64, 91%, 14%)
CMYKcmyk(5.7%, 0%, 91.4%, 86.3%)
CIE-LABlab(12.81, -6.33, 17.56)
CIE-LCHlch(12.81, 18.67, 109.81°)
OKLaboklab(24.62% -0.0196 0.0464)
OKLCHoklch(24.62% 0.05 112.9)
XYZxyz(1.2447, 1.5320, 0.3163)
Luminance0.0153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212303 #050323
analogous
#231503 #212303 #112303
triadic
#212303 #032123 #230321
tetradic
#212303 #032315 #050323 #230311
square
#212303 #032315 #050323 #230311
split-complementary
#212303 #031123 #150323
monochromatic
#1B1C02 #1B1C02 #212303 #565B08 #8B940D

Accessibility & contrast

On white

16.07
#212303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#212303 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212303
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212303#FFFFFF#000000##FFFFFF
##2123031.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262100
Deuteranopia (green-blind)
#272205
Tritanopia (blue-blind)
#24201D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #212303;
/* rgb */ color: rgb(33, 35, 3);
/* oklch */ color: oklch(24.6% 0.050 112.9);
Tailwind
colors: {
  custom: {
    50: '#5c5d48',
    500: '#212303',
    950: '#000000',
  },
}
SCSS
$custom: #212303;
$custom-light: #5c5d48;
$custom-dark: #000000;
JSON
{
  "hex": "#212303",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 3
  },
  "hsl": {
    "h": 63.75,
    "s": 84.211,
    "l": 7.451
  },
  "oklch": {
    "l": 0.24619,
    "c": 0.05035,
    "h": 112.9
  },
  "luminance": 0.01532
}

Semantic roles & 50–950 ramp

primary
#212303
secondary
#1F1B67
accent
#2DFA3A
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #212303

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

Preview Lab → · Contrast checker → · Palette generator →

#212303 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva