#22230A#22230A

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

Color values

HEX#22230A
RGBrgb(34, 35, 10)
HSLhsl(62, 56%, 9%)
HSVhsv(62, 71%, 14%)
CMYKcmyk(2.9%, 0%, 71.4%, 86.3%)
CIE-LABlab(13.01, -4.99, 15.00)
CIE-LCHlch(13.01, 15.81, 108.42°)
OKLaboklab(24.83% -0.0147 0.0381)
OKLCHoklch(24.83% 0.041 111.1)
XYZxyz(1.3155, 1.5641, 0.5197)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22230A #0B0A23
analogous
#23180A #22230A #16230A
triadic
#22230A #0A2223 #230A22
tetradic
#22230A #0A2318 #0B0A23 #230A16
square
#22230A #0A2318 #0B0A23 #230A16
split-complementary
#22230A #0A1623 #180A23
monochromatic
#171807 #171807 #22230A #505318 #7E8225

Accessibility & contrast

On white

16.00
#22230A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22230A
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22230A#FFFFFF#000000##FFFFFF
##22230A1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22230a;
/* rgb */ color: rgb(34, 35, 10);
/* oklch */ color: oklch(24.8% 0.041 111.1);
Tailwind
colors: {
  custom: {
    50: '#5d5d4b',
    500: '#22230a',
    950: '#000000',
  },
}
SCSS
$custom: #22230a;
$custom-light: #5d5d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#22230a",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 10
  },
  "hsl": {
    "h": 62.4,
    "s": 55.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24835,
    "c": 0.04082,
    "h": 111.1
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#22230A
secondary
#2C2A5F
accent
#49DF4F
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #22230A

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

Preview Lab → · Contrast checker → · Palette generator →

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