#122200#122200

#122200 is a very dark, moderate yellow-green. Relative luminance 0.013; OKLCH L 22.9% C 0.062 H 130.6°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#122200
RGBrgb(18, 34, 0)
HSLhsl(88, 100%, 7%)
HSVhsv(88, 100%, 13%)
CMYKcmyk(47.1%, 0%, 100%, 86.7%)
CIE-LABlab(11.08, -14.12, 16.21)
CIE-LCHlch(11.08, 21.50, 131.05°)
OKLaboklab(22.88% -0.0405 0.0472)
OKLCHoklch(22.88% 0.062 130.6)
XYZxyz(0.8215, 1.2726, 0.2024)
Luminance0.0127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122200 #100022
analogous
#222100 #122200 #012200
triadic
#122200 #001222 #220012
tetradic
#122200 #002221 #100022 #220001
square
#122200 #002221 #100022 #220001
split-complementary
#122200 #000122 #210022
monochromatic
#101F00 #101F00 #122200 #325F00 #539C00

Accessibility & contrast

On white

16.74
#122200 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#122200 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122200
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122200#FFFFFF#000000##FFFFFF
##1222001.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122200;
/* rgb */ color: rgb(18, 34, 0);
/* oklch */ color: oklch(22.9% 0.062 130.6);
Tailwind
colors: {
  custom: {
    50: '#505d46',
    500: '#122200',
    950: '#000000',
  },
}
SCSS
$custom: #122200;
$custom-light: #505d46;
$custom-dark: #000000;
JSON
{
  "hex": "#122200",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 0
  },
  "hsl": {
    "h": 88.235,
    "s": 100,
    "l": 6.667
  },
  "oklch": {
    "l": 0.22876,
    "c": 0.06217,
    "h": 130.6
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#122200
secondary
#3C136B
accent
#29FF8E
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#020400
muted
#787977

Preview Lab

Preview with #122200

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

Preview Lab → · Contrast checker → · Palette generator →

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