#122002#122002

#122002 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.3% C 0.056 H 130.3°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#122002
RGBrgb(18, 32, 2)
HSLhsl(88, 88%, 7%)
HSVhsv(88, 94%, 13%)
CMYKcmyk(43.8%, 0%, 93.8%, 87.5%)
CIE-LABlab(10.30, -12.59, 14.31)
CIE-LCHlch(10.30, 19.06, 131.34°)
OKLaboklab(22.25% -0.0361 0.0425)
OKLCHoklch(22.25% 0.056 130.3)
XYZxyz(0.7769, 1.1660, 0.2415)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122002 #100220
analogous
#201F02 #122002 #032002
triadic
#122002 #021220 #200212
tetradic
#122002 #02201F #100220 #200203
square
#122002 #02201F #100220 #200203
split-complementary
#122002 #020320 #1F0220
monochromatic
#101D02 #101D02 #122002 #325A06 #539309

Accessibility & contrast

On white

17.03
#122002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#122002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122002
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122002#FFFFFF#000000##FFFFFF
##1220021.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D00
Deuteranopia (green-blind)
#201C04
Tritanopia (blue-blind)
#131E1A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #122002;
/* rgb */ color: rgb(18, 32, 2);
/* oklch */ color: oklch(22.3% 0.056 130.3);
Tailwind
colors: {
  custom: {
    50: '#4f5b47',
    500: '#122002',
    950: '#000000',
  },
}
SCSS
$custom: #122002;
$custom-light: #4f5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#122002",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 88,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.2225,
    "c": 0.05576,
    "h": 130.3
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#122002
secondary
#3C1866
accent
#29FE8D
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #122002

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

Preview Lab → · Contrast checker → · Palette generator →

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