#222700#222700

#222700 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 25.9% C 0.060 H 116.8°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#222700
RGBrgb(34, 39, 0)
HSLhsl(68, 100%, 8%)
HSVhsv(68, 100%, 15%)
CMYKcmyk(12.8%, 0%, 100%, 84.7%)
CIE-LABlab(14.35, -8.69, 20.84)
CIE-LCHlch(14.35, 22.58, 112.63°)
OKLaboklab(25.87% -0.0269 0.0532)
OKLCHoklch(25.87% 0.06 116.8)
XYZxyz(1.3852, 1.7911, 0.2728)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222700 #050027
analogous
#271800 #222700 #0F2700
triadic
#222700 #002227 #270022
tetradic
#222700 #002718 #050027 #27000F
square
#222700 #002718 #050027 #27000F
split-complementary
#222700 #000F27 #180027
monochromatic
#1B1F00 #1B1F00 #222700 #576400 #8DA100

Accessibility & contrast

On white

15.46
#222700 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#222700 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222700
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222700#FFFFFF#000000##FFFFFF
##2227001.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2400
Deuteranopia (green-blind)
#2A2502
Tritanopia (blue-blind)
#252420
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #222700;
/* rgb */ color: rgb(34, 39, 0);
/* oklch */ color: oklch(25.9% 0.060 116.8);
Tailwind
colors: {
  custom: {
    50: '#5e6146',
    500: '#222700',
    950: '#000000',
  },
}
SCSS
$custom: #222700;
$custom-light: #5e6146;
$custom-dark: #000000;
JSON
{
  "hex": "#222700",
  "rgb": {
    "r": 34,
    "g": 39,
    "b": 0
  },
  "hsl": {
    "h": 67.692,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.25869,
    "c": 0.05956,
    "h": 116.8
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#222700
secondary
#1F146F
accent
#29FF44
background
#F5F5F3
surface
#E9E9E5
border
#C5C5C1
text
#040500
muted
#797977

Preview Lab

Preview with #222700

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

Preview Lab → · Contrast checker → · Palette generator →

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