#22230D#22230D

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

Color values

HEX#22230D
RGBrgb(34, 35, 13)
HSLhsl(63, 46%, 9%)
HSVhsv(63, 63%, 14%)
CMYKcmyk(2.9%, 0%, 62.9%, 86.3%)
CIE-LABlab(13.05, -4.64, 13.73)
CIE-LCHlch(13.05, 14.49, 108.68°)
OKLaboklab(24.89% -0.0133 0.0345)
OKLCHoklch(24.89% 0.037 111.1)
XYZxyz(1.3334, 1.5712, 0.6137)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22230D #0E0D23
analogous
#23190D #22230D #17230D
triadic
#22230D #0D2223 #230D22
tetradic
#22230D #0D2319 #0E0D23 #230D17
square
#22230D #0D2319 #0E0D23 #230D17
split-complementary
#22230D #0D1723 #190D23
monochromatic
#161608 #161608 #22230D #4D501E #797C2E

Accessibility & contrast

On white

15.98
#22230D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22230D
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22230D#FFFFFF#000000##FFFFFF
##22230D1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22230d;
/* rgb */ color: rgb(34, 35, 13);
/* oklch */ color: oklch(24.9% 0.037 111.1);
Tailwind
colors: {
  custom: {
    50: '#5d5d4d',
    500: '#22230d',
    950: '#000000',
  },
}
SCSS
$custom: #22230d;
$custom-light: #5d5d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#22230d",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 13
  },
  "hsl": {
    "h": 62.727,
    "s": 45.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.24885,
    "c": 0.03694,
    "h": 111.1
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#22230D
secondary
#322F5C
accent
#52D558
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #22230D

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

Preview Lab → · Contrast checker → · Palette generator →

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