#21230A#21230A

#21230A is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.7% C 0.041 H 113.2°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#21230A
RGBrgb(33, 35, 10)
HSLhsl(65, 56%, 9%)
HSVhsv(65, 71%, 14%)
CMYKcmyk(5.7%, 0%, 71.4%, 86.3%)
CIE-LABlab(12.91, -5.54, 14.84)
CIE-LCHlch(12.91, 15.84, 110.48°)
OKLaboklab(24.73% -0.0162 0.0378)
OKLCHoklch(24.73% 0.041 113.2)
XYZxyz(1.2830, 1.5473, 0.5182)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21230A #0C0A23
analogous
#23190A #21230A #15230A
triadic
#21230A #0A2123 #230A21
tetradic
#21230A #0A2319 #0C0A23 #230A15
square
#21230A #0A2319 #0C0A23 #230A15
split-complementary
#21230A #0A1523 #190A23
monochromatic
#161807 #161807 #21230A #4E5318 #7B8225

Accessibility & contrast

On white

16.04
#21230A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21230A
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21230A#FFFFFF#000000##FFFFFF
##21230A1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262108
Deuteranopia (green-blind)
#26220B
Tritanopia (blue-blind)
#24211D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #21230a;
/* rgb */ color: rgb(33, 35, 10);
/* oklch */ color: oklch(24.7% 0.041 113.2);
Tailwind
colors: {
  custom: {
    50: '#5c5d4b',
    500: '#21230a',
    950: '#000000',
  },
}
SCSS
$custom: #21230a;
$custom-light: #5c5d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#21230a",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 10
  },
  "hsl": {
    "h": 64.8,
    "s": 55.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24727,
    "c": 0.04111,
    "h": 113.2
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#21230A
secondary
#2E2A5F
accent
#49DF55
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #21230A

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

Preview Lab → · Contrast checker → · Palette generator →

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