#121004#121004

#121004 is a very dark, muted yellow. Relative luminance 0.005; OKLCH L 17.1% C 0.025 H 101.1°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#121004
RGBrgb(18, 16, 4)
HSLhsl(51, 64%, 4%)
HSVhsv(51, 78%, 7%)
CMYKcmyk(0%, 11.1%, 77.8%, 92.9%)
CIE-LABlab(4.59, -1.07, 5.21)
CIE-LCHlch(4.59, 5.32, 101.61°)
OKLaboklab(17.14% -0.0048 0.0244)
OKLCHoklch(17.14% 0.025 101.1)
XYZxyz(0.4567, 0.5080, 0.1888)
Luminance0.0051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121004 #040612
analogous
#120904 #121004 #0D1204
triadic
#121004 #041210 #100412
tetradic
#121004 #041209 #040612 #12040D
square
#121004 #041209 #040612 #12040D
split-complementary
#121004 #040D12 #090412
monochromatic
#191606 #191606 #191606 #443D0F #76691A

Accessibility & contrast

On white

19.06
#121004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#121004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121004
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121004#FFFFFF#000000##FFFFFF
##1210041.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F03
Deuteranopia (green-blind)
#131004
Tritanopia (blue-blind)
#140E0D
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #121004;
/* rgb */ color: rgb(18, 16, 4);
/* oklch */ color: oklch(17.1% 0.025 101.1);
Tailwind
colors: {
  custom: {
    50: '#4f4e48',
    500: '#121004',
    950: '#000000',
  },
}
SCSS
$custom: #121004;
$custom-light: #4f4e48;
$custom-dark: #000000;
JSON
{
  "hex": "#121004",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 4
  },
  "hsl": {
    "h": 51.429,
    "s": 63.636,
    "l": 4.314
  },
  "oklch": {
    "l": 0.17136,
    "c": 0.02488,
    "h": 101.1
  },
  "luminance": 0.00508
}

Semantic roles & 50–950 ramp

primary
#121004
secondary
#202752
accent
#59E741
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#020100
muted
#787777

Preview Lab

Preview with #121004

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

Preview Lab → · Contrast checker → · Palette generator →

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