#212702#212702

#212702 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 25.8% C 0.057 H 118.4°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#212702
RGBrgb(33, 39, 2)
HSLhsl(70, 90%, 8%)
HSVhsv(70, 95%, 15%)
CMYKcmyk(15.4%, 0%, 94.9%, 84.7%)
CIE-LABlab(14.28, -9.02, 19.92)
CIE-LCHlch(14.28, 21.87, 114.37°)
OKLaboklab(25.8% -0.0273 0.0505)
OKLCHoklch(25.8% 0.057 118.4)
XYZxyz(1.3637, 1.7788, 0.3289)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212702 #080227
analogous
#271A02 #212702 #0E2702
triadic
#212702 #022127 #270221
tetradic
#212702 #02271A #080227 #27020E
square
#212702 #02271A #080227 #27020E
split-complementary
#212702 #020E27 #1A0227
monochromatic
#191D01 #191D01 #212702 #526105 #849B08

Accessibility & contrast

On white

15.49
#212702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#212702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212702
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212702#FFFFFF#000000##FFFFFF
##2127021.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#2A2404
Tritanopia (blue-blind)
#242420
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #212702;
/* rgb */ color: rgb(33, 39, 2);
/* oklch */ color: oklch(25.8% 0.057 118.4);
Tailwind
colors: {
  custom: {
    50: '#5d6147',
    500: '#212702',
    950: '#000000',
  },
}
SCSS
$custom: #212702;
$custom-light: #5d6147;
$custom-dark: #000000;
JSON
{
  "hex": "#212702",
  "rgb": {
    "r": 33,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 69.73,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.25797,
    "c": 0.05738,
    "h": 118.4
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#212702
secondary
#26186C
accent
#29FF4C
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040500
muted
#797977

Preview Lab

Preview with #212702

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

Preview Lab → · Contrast checker → · Palette generator →

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