#222500#222500

#222500 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.3% C 0.057 H 114.3°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#222500
RGBrgb(34, 37, 0)
HSLhsl(65, 100%, 7%)
HSVhsv(65, 100%, 15%)
CMYKcmyk(8.1%, 0%, 100%, 85.5%)
CIE-LABlab(13.61, -7.41, 19.87)
CIE-LCHlch(13.61, 21.20, 110.44°)
OKLaboklab(25.27% -0.0234 0.0519)
OKLCHoklch(25.27% 0.057 114.3)
XYZxyz(1.3213, 1.6632, 0.2514)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222500 #030025
analogous
#251600 #222500 #102500
triadic
#222500 #002225 #250022
tetradic
#222500 #002516 #030025 #250010
square
#222500 #002516 #030025 #250010
split-complementary
#222500 #001025 #160025
monochromatic
#1C1F00 #1C1F00 #222500 #5A6200 #929F00

Accessibility & contrast

On white

15.76
#222500 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#222500 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222500
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222500#FFFFFF#000000##FFFFFF
##2225001.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292200
Deuteranopia (green-blind)
#292302
Tritanopia (blue-blind)
#25221E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #222500;
/* rgb */ color: rgb(34, 37, 0);
/* oklch */ color: oklch(25.3% 0.057 114.3);
Tailwind
colors: {
  custom: {
    50: '#5d5f46',
    500: '#222500',
    950: '#000000',
  },
}
SCSS
$custom: #222500;
$custom-light: #5d5f46;
$custom-dark: #000000;
JSON
{
  "hex": "#222500",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 0
  },
  "hsl": {
    "h": 64.865,
    "s": 100,
    "l": 7.255
  },
  "oklch": {
    "l": 0.25274,
    "c": 0.05693,
    "h": 114.3
  },
  "luminance": 0.01663
}

Semantic roles & 50–950 ramp

primary
#222500
secondary
#1B136D
accent
#29FF3A
background
#F5F5F3
surface
#E9E9E5
border
#C5C5C1
text
#040400
muted
#797977

Preview Lab

Preview with #222500

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

Preview Lab → · Contrast checker → · Palette generator →

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