#22230B#22230B

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

Color values

HEX#22230B
RGBrgb(34, 35, 11)
HSLhsl(63, 52%, 9%)
HSVhsv(63, 69%, 14%)
CMYKcmyk(2.9%, 0%, 68.6%, 86.3%)
CIE-LABlab(13.02, -4.88, 14.60)
CIE-LCHlch(13.02, 15.39, 108.49°)
OKLaboklab(24.85% -0.0142 0.0369)
OKLCHoklch(24.85% 0.04 111.1)
XYZxyz(1.3212, 1.5663, 0.5493)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22230B #0C0B23
analogous
#23180B #22230B #16230B
triadic
#22230B #0B2223 #230B22
tetradic
#22230B #0B2318 #0C0B23 #230B16
square
#22230B #0B2318 #0C0B23 #230B16
split-complementary
#22230B #0B1623 #180B23
monochromatic
#171707 #171707 #22230B #4F521A #7C8028

Accessibility & contrast

On white

15.99
#22230B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22230B
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22230B#FFFFFF#000000##FFFFFF
##22230B1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22230b;
/* rgb */ color: rgb(34, 35, 11);
/* oklch */ color: oklch(24.9% 0.040 111.1);
Tailwind
colors: {
  custom: {
    50: '#5d5d4c',
    500: '#22230b',
    950: '#000000',
  },
}
SCSS
$custom: #22230b;
$custom-light: #5d5d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#22230b",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 11
  },
  "hsl": {
    "h": 62.5,
    "s": 52.174,
    "l": 9.02
  },
  "oklch": {
    "l": 0.24851,
    "c": 0.03957,
    "h": 111.1
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#22230B
secondary
#2E2C5E
accent
#4CDC52
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #22230B

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

Preview Lab → · Contrast checker → · Palette generator →

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