#22250F#22250F

#22250F is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.5% C 0.037 H 115.5°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#22250F
RGBrgb(34, 37, 15)
HSLhsl(68, 42%, 10%)
HSVhsv(68, 59%, 15%)
CMYKcmyk(8.1%, 0%, 59.5%, 85.5%)
CIE-LABlab(13.81, -5.72, 13.73)
CIE-LCHlch(13.81, 14.87, 112.63°)
OKLaboklab(25.5% -0.0161 0.0338)
OKLCHoklch(25.5% 0.037 115.5)
XYZxyz(1.4075, 1.6977, 0.7054)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22250F #120F25
analogous
#251D0F #22250F #17250F
triadic
#22250F #0F2225 #250F22
tetradic
#22250F #0F251D #120F25 #250F17
square
#22250F #0F251D #120F25 #250F17
split-complementary
#22250F #0F1725 #1D0F25
monochromatic
#141609 #141609 #22250F #4A5121 #727C32

Accessibility & contrast

On white

15.68
#22250F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#22250F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22250F
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22250F#FFFFFF#000000##FFFFFF
##22250F1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230D
Deuteranopia (green-blind)
#272310
Tritanopia (blue-blind)
#242320
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #22250f;
/* rgb */ color: rgb(34, 37, 15);
/* oklch */ color: oklch(25.5% 0.037 115.5);
Tailwind
colors: {
  custom: {
    50: '#5d5f4e',
    500: '#22250f',
    950: '#000000',
  },
}
SCSS
$custom: #22250f;
$custom-light: #5d5f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#22250f",
  "rgb": {
    "r": 34,
    "g": 37,
    "b": 15
  },
  "hsl": {
    "h": 68.182,
    "s": 42.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25502,
    "c": 0.03747,
    "h": 115.5
  },
  "luminance": 0.01698
}

Semantic roles & 50–950 ramp

primary
#22250F
secondary
#38335D
accent
#56D267
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #22250F

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

Preview Lab → · Contrast checker → · Palette generator →

#22250F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva