#222900#222900

#222900 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.5% C 0.062 H 119.1°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#222900
RGBrgb(34, 41, 0)
HSLhsl(70, 100%, 8%)
HSVhsv(70, 100%, 16%)
CMYKcmyk(17.1%, 0%, 100%, 83.9%)
CIE-LABlab(15.09, -9.94, 21.80)
CIE-LCHlch(15.09, 23.96, 114.51°)
OKLaboklab(26.47% -0.0303 0.0544)
OKLCHoklch(26.47% 0.062 119.1)
XYZxyz(1.4527, 1.9260, 0.2952)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222900 #070029
analogous
#291B00 #222900 #0D2900
triadic
#222900 #002229 #290022
tetradic
#222900 #00291B #070029 #29000D
square
#222900 #00291B #070029 #29000D
split-complementary
#222900 #000D29 #1B0029
monochromatic
#191F00 #191F00 #222900 #556600 #88A300

Accessibility & contrast

On white

15.16
#222900 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#222900 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222900
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222900#FFFFFF#000000##FFFFFF
##2229001.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2C2603
Tritanopia (blue-blind)
#252621
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #222900;
/* rgb */ color: rgb(34, 41, 0);
/* oklch */ color: oklch(26.5% 0.062 119.1);
Tailwind
colors: {
  custom: {
    50: '#5e6246',
    500: '#222900',
    950: '#000000',
  },
}
SCSS
$custom: #222900;
$custom-light: #5e6246;
$custom-dark: #000000;
JSON
{
  "hex": "#222900",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 0
  },
  "hsl": {
    "h": 70.244,
    "s": 100,
    "l": 8.039
  },
  "oklch": {
    "l": 0.26468,
    "c": 0.06227,
    "h": 119.1
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#222900
secondary
#241471
accent
#29FF4D
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #222900

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

Preview Lab → · Contrast checker → · Palette generator →

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