#222803#222803

#222803 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.2% C 0.057 H 118.4°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#222803
RGBrgb(34, 40, 3)
HSLhsl(70, 86%, 8%)
HSVhsv(70, 93%, 16%)
CMYKcmyk(15%, 0%, 92.5%, 84.3%)
CIE-LABlab(14.76, -9.00, 20.15)
CIE-LCHlch(14.76, 22.07, 114.08°)
OKLaboklab(26.21% -0.0271 0.0502)
OKLCHoklch(26.21% 0.057 118.4)
XYZxyz(1.4349, 1.8643, 0.3704)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222803 #090328
analogous
#281B03 #222803 #0F2803
triadic
#222803 #032228 #280322
tetradic
#222803 #03281B #090328 #28030F
square
#222803 #03281B #090328 #28030F
split-complementary
#222803 #030F28 #1B0328
monochromatic
#181C02 #181C02 #222803 #526107 #839A0C

Accessibility & contrast

On white

15.30
#222803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#222803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222803
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222803#FFFFFF#000000##FFFFFF
##2228031.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2B2505
Tritanopia (blue-blind)
#252521
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #222803;
/* rgb */ color: rgb(34, 40, 3);
/* oklch */ color: oklch(26.2% 0.057 118.4);
Tailwind
colors: {
  custom: {
    50: '#5e6148',
    500: '#222803',
    950: '#000000',
  },
}
SCSS
$custom: #222803;
$custom-light: #5e6148;
$custom-dark: #000000;
JSON
{
  "hex": "#222803",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 69.73,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26208,
    "c": 0.05703,
    "h": 118.4
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#222803
secondary
#281B6C
accent
#2CFC4D
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040500
muted
#797977

Preview Lab

Preview with #222803

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

Preview Lab → · Contrast checker → · Palette generator →

#222803 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva