#12200A#12200A

#12200A is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.4% C 0.044 H 135.3°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#12200A
RGBrgb(18, 32, 10)
HSLhsl(98, 52%, 8%)
HSVhsv(98, 69%, 13%)
CMYKcmyk(43.8%, 0%, 68.8%, 87.5%)
CIE-LABlab(10.44, -11.36, 11.24)
CIE-LCHlch(10.44, 15.98, 135.31°)
OKLaboklab(22.4% -0.0314 0.031)
OKLCHoklch(22.4% 0.044 135.3)
XYZxyz(0.8207, 1.1835, 0.4723)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12200A #180A20
analogous
#1D200A #12200A #0A200D
triadic
#12200A #0A1220 #200A12
tetradic
#12200A #0A1D20 #180A20 #200D0A
square
#12200A #0A1D20 #180A20 #200D0A
split-complementary
#12200A #0D0A20 #200A1D
monochromatic
#0D1707 #0D1707 #12200A #2C4F19 #467D27

Accessibility & contrast

On white

16.98
#12200A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#12200A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12200A
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12200A#FFFFFF#000000##FFFFFF
##12200A1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D08
Deuteranopia (green-blind)
#1F1C0B
Tritanopia (blue-blind)
#121F1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #12200a;
/* rgb */ color: rgb(18, 32, 10);
/* oklch */ color: oklch(22.4% 0.044 135.3);
Tailwind
colors: {
  custom: {
    50: '#505b4b',
    500: '#12200a',
    950: '#000000',
  },
}
SCSS
$custom: #12200a;
$custom-light: #505b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#12200a",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 10
  },
  "hsl": {
    "h": 98.182,
    "s": 52.381,
    "l": 8.235
  },
  "oklch": {
    "l": 0.22399,
    "c": 0.04408,
    "h": 135.3
  },
  "luminance": 0.01184
}

Semantic roles & 50–950 ramp

primary
#12200A
secondary
#4A2A5B
accent
#4CDCA8
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020401
muted
#787977

Preview Lab

Preview with #12200A

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

Preview Lab → · Contrast checker → · Palette generator →

#12200A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva