#222502#222502

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

Color values

HEX#222502
RGBrgb(34, 37, 2)
HSLhsl(65, 90%, 8%)
HSVhsv(65, 95%, 15%)
CMYKcmyk(8.1%, 0%, 94.6%, 85.5%)
CIE-LABlab(13.64, -7.19, 19.09)
CIE-LCHlch(13.64, 20.40, 110.63°)
OKLaboklab(25.3% -0.0223 0.0493)
OKLCHoklch(25.3% 0.054 114.3)
XYZxyz(1.3323, 1.6676, 0.3091)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222502 #050225
analogous
#251602 #222502 #102502
triadic
#222502 #022225 #250222
tetradic
#222502 #022516 #050225 #250210
square
#222502 #022516 #050225 #250210
split-complementary
#222502 #021025 #160225
monochromatic
#1B1D02 #1B1D02 #222502 #575F05 #8D9908

Accessibility & contrast

On white

15.75
#222502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222502
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222502#FFFFFF#000000##FFFFFF
##2225021.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222502;
/* rgb */ color: rgb(34, 37, 2);
/* oklch */ color: oklch(25.3% 0.054 114.3);
Tailwind
colors: {
  custom: {
    50: '#5d5f47',
    500: '#222502',
    950: '#000000',
  },
}
SCSS
$custom: #222502;
$custom-light: #5d5f47;
$custom-dark: #000000;
JSON
{
  "hex": "#222502",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 65.143,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.25303,
    "c": 0.05411,
    "h": 114.3
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#222502
secondary
#1F186A
accent
#29FF3B
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #222502

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

Preview Lab → · Contrast checker → · Palette generator →

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