#212602#212602

#212602 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.5% C 0.056 H 117.2°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#212602
RGBrgb(33, 38, 2)
HSLhsl(68, 90%, 8%)
HSVhsv(68, 95%, 15%)
CMYKcmyk(13.2%, 0%, 94.7%, 85.1%)
CIE-LABlab(13.91, -8.39, 19.43)
CIE-LCHlch(13.91, 21.16, 113.35°)
OKLaboklab(25.5% -0.0255 0.0498)
OKLCHoklch(25.5% 0.056 117.2)
XYZxyz(1.3313, 1.7140, 0.3181)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212602 #070226
analogous
#261902 #212602 #0F2602
triadic
#212602 #022126 #260221
tetradic
#212602 #022619 #070226 #26020F
square
#212602 #022619 #070226 #26020F
split-complementary
#212602 #020F26 #190226
monochromatic
#191D02 #191D02 #212602 #536005 #869A08

Accessibility & contrast

On white

15.64
#212602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#212602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212602
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212602#FFFFFF#000000##FFFFFF
##2126021.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#292404
Tritanopia (blue-blind)
#24231F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #212602;
/* rgb */ color: rgb(33, 38, 2);
/* oklch */ color: oklch(25.5% 0.056 117.2);
Tailwind
colors: {
  custom: {
    50: '#5d6047',
    500: '#212602',
    950: '#000000',
  },
}
SCSS
$custom: #212602;
$custom-light: #5d6047;
$custom-dark: #000000;
JSON
{
  "hex": "#212602",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 68.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.25497,
    "c": 0.05595,
    "h": 117.2
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#212602
secondary
#24186B
accent
#29FF47
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #212602

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

Preview Lab → · Contrast checker → · Palette generator →

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