#21230D#21230D

#21230D is a very dark, muted yellow. Relative luminance 0.016; OKLCH L 24.8% C 0.037 H 113.4°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#21230D
RGBrgb(33, 35, 13)
HSLhsl(65, 46%, 9%)
HSVhsv(65, 63%, 14%)
CMYKcmyk(5.7%, 0%, 62.9%, 86.3%)
CIE-LABlab(12.95, -5.18, 13.57)
CIE-LCHlch(12.95, 14.53, 110.91°)
OKLaboklab(24.78% -0.0148 0.0342)
OKLCHoklch(24.78% 0.037 113.4)
XYZxyz(1.3009, 1.5545, 0.6122)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21230D #0F0D23
analogous
#231A0D #21230D #16230D
triadic
#21230D #0D2123 #230D21
tetradic
#21230D #0D231A #0F0D23 #230D16
square
#21230D #0D231A #0F0D23 #230D16
split-complementary
#21230D #0D1623 #1A0D23
monochromatic
#151608 #151608 #21230D #4B501E #757C2E

Accessibility & contrast

On white

16.02
#21230D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#21230D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21230D
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21230D#FFFFFF#000000##FFFFFF
##21230D1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26210B
Deuteranopia (green-blind)
#26220E
Tritanopia (blue-blind)
#23211E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #21230d;
/* rgb */ color: rgb(33, 35, 13);
/* oklch */ color: oklch(24.8% 0.037 113.4);
Tailwind
colors: {
  custom: {
    50: '#5c5d4d',
    500: '#21230d',
    950: '#000000',
  },
}
SCSS
$custom: #21230d;
$custom-light: #5c5d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#21230d",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 13
  },
  "hsl": {
    "h": 65.455,
    "s": 45.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.24777,
    "c": 0.03721,
    "h": 113.4
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#21230D
secondary
#342F5C
accent
#52D55E
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #21230D

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

Preview Lab → · Contrast checker → · Palette generator →

#21230D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva