#122202#122202

#122202 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 22.9% C 0.059 H 131.6°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#122202
RGBrgb(18, 34, 2)
HSLhsl(90, 89%, 7%)
HSVhsv(90, 94%, 13%)
CMYKcmyk(47.1%, 0%, 94.1%, 86.7%)
CIE-LABlab(11.11, -13.81, 15.44)
CIE-LCHlch(11.11, 20.71, 131.80°)
OKLaboklab(22.91% -0.0392 0.0441)
OKLCHoklch(22.91% 0.059 131.6)
XYZxyz(0.8324, 1.2770, 0.2600)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122202 #120222
analogous
#222202 #122202 #022202
triadic
#122202 #021222 #220212
tetradic
#122202 #022222 #120222 #220202
square
#122202 #022222 #120222 #220202
split-complementary
#122202 #020222 #220222
monochromatic
#0F1D02 #0F1D02 #122202 #315C05 #4F9609

Accessibility & contrast

On white

16.73
#122202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#122202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122202
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122202#FFFFFF#000000##FFFFFF
##1222021.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E00
Deuteranopia (green-blind)
#221D04
Tritanopia (blue-blind)
#12201B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #122202;
/* rgb */ color: rgb(18, 34, 2);
/* oklch */ color: oklch(22.9% 0.059 131.6);
Tailwind
colors: {
  custom: {
    50: '#505d47',
    500: '#122202',
    950: '#000000',
  },
}
SCSS
$custom: #122202;
$custom-light: #505d47;
$custom-dark: #000000;
JSON
{
  "hex": "#122202",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 2
  },
  "hsl": {
    "h": 90,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22911,
    "c": 0.05897,
    "h": 131.6
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#122202
secondary
#401868
accent
#29FF94
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #122202

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

Preview Lab → · Contrast checker → · Palette generator →

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