#212307#212307

#212307 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.7% C 0.045 H 113.1°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#212307
RGBrgb(33, 35, 7)
HSLhsl(64, 67%, 8%)
HSVhsv(64, 80%, 14%)
CMYKcmyk(5.7%, 0%, 80%, 86.3%)
CIE-LABlab(12.87, -5.88, 16.01)
CIE-LCHlch(12.87, 17.05, 110.16°)
OKLaboklab(24.68% -0.0176 0.0413)
OKLCHoklch(24.68% 0.045 113.1)
XYZxyz(1.2666, 1.5408, 0.4316)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212307 #090723
analogous
#231707 #212307 #132307
triadic
#212307 #072123 #230721
tetradic
#212307 #072317 #090723 #230713
square
#212307 #072317 #090723 #230713
split-complementary
#212307 #071323 #170723
monochromatic
#181A05 #181A05 #212307 #515611 #81891B

Accessibility & contrast

On white

16.05
#212307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212307
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212307#FFFFFF#000000##FFFFFF
##2123071.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212307;
/* rgb */ color: rgb(33, 35, 7);
/* oklch */ color: oklch(24.7% 0.045 113.1);
Tailwind
colors: {
  custom: {
    50: '#5c5d4a',
    500: '#212307',
    950: '#000000',
  },
}
SCSS
$custom: #212307;
$custom-light: #5c5d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#212307",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 7
  },
  "hsl": {
    "h": 64.286,
    "s": 66.667,
    "l": 8.235
  },
  "oklch": {
    "l": 0.24681,
    "c": 0.04491,
    "h": 113.1
  },
  "luminance": 0.01541
}

Semantic roles & 50–950 ramp

primary
#212307
secondary
#282462
accent
#3EEA4A
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #212307

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

Preview Lab → · Contrast checker → · Palette generator →

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