#212507#212507

#212507 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.3% C 0.048 H 116.3°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#212507
RGBrgb(33, 37, 7)
HSLhsl(68, 68%, 9%)
HSVhsv(68, 81%, 15%)
CMYKcmyk(10.8%, 0%, 81.1%, 85.5%)
CIE-LABlab(13.60, -7.19, 16.99)
CIE-LCHlch(13.60, 18.45, 112.95°)
OKLaboklab(25.27% -0.0213 0.043)
OKLCHoklch(25.27% 0.048 116.3)
XYZxyz(1.3271, 1.6618, 0.4518)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212507 #0B0725
analogous
#251A07 #212507 #122507
triadic
#212507 #072125 #250721
tetradic
#212507 #07251A #0B0725 #250712
square
#212507 #07251A #0B0725 #250712
split-complementary
#212507 #071225 #1A0725
monochromatic
#171A05 #171A05 #212507 #4F5811 #7D8C1A

Accessibility & contrast

On white

15.76
#212507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#212507 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212507
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212507#FFFFFF#000000##FFFFFF
##2125071.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282304
Deuteranopia (green-blind)
#282309
Tritanopia (blue-blind)
#24221F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #212507;
/* rgb */ color: rgb(33, 37, 7);
/* oklch */ color: oklch(25.3% 0.048 116.3);
Tailwind
colors: {
  custom: {
    50: '#5d5f4a',
    500: '#212507',
    950: '#000000',
  },
}
SCSS
$custom: #212507;
$custom-light: #5d5f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#212507",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 7
  },
  "hsl": {
    "h": 68,
    "s": 68.182,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25271,
    "c": 0.04796,
    "h": 116.3
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#212507
secondary
#2C2364
accent
#3DEB54
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #212507

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

Preview Lab → · Contrast checker → · Palette generator →

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