#121402#121402

#121402 is a very dark, muted yellow. Relative luminance 0.006; OKLCH L 18.3% C 0.036 H 114.5°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#121402
RGBrgb(18, 20, 2)
HSLhsl(67, 82%, 4%)
HSVhsv(67, 90%, 8%)
CMYKcmyk(10%, 0%, 90%, 92.2%)
CIE-LABlab(5.72, -3.74, 7.68)
CIE-LCHlch(5.72, 8.54, 115.98°)
OKLaboklab(18.33% -0.0149 0.0327)
OKLCHoklch(18.33% 0.036 114.5)
XYZxyz(0.5106, 0.6333, 0.1528)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121402 #040214
analogous
#140D02 #121402 #091402
triadic
#121402 #021214 #140212
tetradic
#121402 #02140D #040214 #140209
square
#121402 #02140D #040214 #140209
split-complementary
#121402 #020914 #0D0214
monochromatic
#191C03 #191C03 #191C03 #444C08 #76830D

Accessibility & contrast

On white

18.64
#121402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#121402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121402
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121402#FFFFFF#000000##FFFFFF
##1214021.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161201
Deuteranopia (green-blind)
#161303
Tritanopia (blue-blind)
#141210
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #121402;
/* rgb */ color: rgb(18, 20, 2);
/* oklch */ color: oklch(18.3% 0.036 114.5);
Tailwind
colors: {
  custom: {
    50: '#4f5147',
    500: '#121402',
    950: '#000000',
  },
}
SCSS
$custom: #121402;
$custom-light: #4f5147;
$custom-dark: #000000;
JSON
{
  "hex": "#121402",
  "rgb": {
    "r": 18,
    "g": 20,
    "b": 2
  },
  "hsl": {
    "h": 66.667,
    "s": 81.818,
    "l": 4.314
  },
  "oklch": {
    "l": 0.18332,
    "c": 0.03597,
    "h": 114.5
  },
  "luminance": 0.00633
}

Semantic roles & 50–950 ramp

primary
#121402
secondary
#201859
accent
#30F846
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#020200
muted
#787877

Preview Lab

Preview with #121402

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

Preview Lab → · Contrast checker → · Palette generator →

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