#122004#122004

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

Color values

HEX#122004
RGBrgb(18, 32, 4)
HSLhsl(90, 78%, 7%)
HSVhsv(90, 88%, 13%)
CMYKcmyk(43.8%, 0%, 87.5%, 87.5%)
CIE-LABlab(10.34, -12.28, 13.54)
CIE-LCHlch(10.34, 18.28, 132.20°)
OKLaboklab(22.29% -0.0348 0.0394)
OKLCHoklch(22.29% 0.053 131.4)
XYZxyz(0.7879, 1.1704, 0.2992)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122004 #120420
analogous
#202004 #122004 #042004
triadic
#122004 #041220 #200412
tetradic
#122004 #042020 #120420 #200404
square
#122004 #042020 #120420 #200404
split-complementary
#122004 #040420 #200420
monochromatic
#0F1B03 #0F1B03 #122004 #31560B #4F8D12

Accessibility & contrast

On white

17.02
#122004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122004
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122004#FFFFFF#000000##FFFFFF
##1220041.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D02
Deuteranopia (green-blind)
#201C06
Tritanopia (blue-blind)
#121E1A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #122004;
/* rgb */ color: rgb(18, 32, 4);
/* oklch */ color: oklch(22.3% 0.053 131.4);
Tailwind
colors: {
  custom: {
    50: '#4f5b48',
    500: '#122004',
    950: '#000000',
  },
}
SCSS
$custom: #122004;
$custom-light: #4f5b48;
$custom-dark: #000000;
JSON
{
  "hex": "#122004",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 90,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22288,
    "c": 0.05256,
    "h": 131.4
  },
  "luminance": 0.0117
}

Semantic roles & 50–950 ramp

primary
#122004
secondary
#401D63
accent
#34F494
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #122004

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

Preview Lab → · Contrast checker → · Palette generator →

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