#212700#212700

#212700 is a dark, moderate yellow. Relative luminance 0.018; OKLCH L 25.8% C 0.060 H 118.1°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#212700
RGBrgb(33, 39, 0)
HSLhsl(69, 100%, 8%)
HSVhsv(69, 100%, 15%)
CMYKcmyk(15.4%, 0%, 100%, 84.7%)
CIE-LABlab(14.26, -9.24, 20.70)
CIE-LCHlch(14.26, 22.67, 114.06°)
OKLaboklab(25.77% -0.0283 0.053)
OKLCHoklch(25.77% 0.06 118.1)
XYZxyz(1.3528, 1.7744, 0.2712)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212700 #060027
analogous
#271900 #212700 #0D2700
triadic
#212700 #002127 #270021
tetradic
#212700 #002719 #060027 #27000D
square
#212700 #002719 #060027 #27000D
split-complementary
#212700 #000D27 #190027
monochromatic
#1A1F00 #1A1F00 #212700 #556400 #89A100

Accessibility & contrast

On white

15.50
#212700 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#212700 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212700
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212700#FFFFFF#000000##FFFFFF
##2127001.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212700;
/* rgb */ color: rgb(33, 39, 0);
/* oklch */ color: oklch(25.8% 0.060 118.1);
Tailwind
colors: {
  custom: {
    50: '#5d6146',
    500: '#212700',
    950: '#000000',
  },
}
SCSS
$custom: #212700;
$custom-light: #5d6146;
$custom-dark: #000000;
JSON
{
  "hex": "#212700",
  "rgb": {
    "r": 33,
    "g": 39,
    "b": 0
  },
  "hsl": {
    "h": 69.231,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.25769,
    "c": 0.06006,
    "h": 118.1
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#212700
secondary
#22146F
accent
#29FF4A
background
#F5F5F3
surface
#E9E9E5
border
#C5C5C1
text
#040500
muted
#797977

Preview Lab

Preview with #212700

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

Preview Lab → · Contrast checker → · Palette generator →

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