#121C04#121C04

#121C04 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 21.0% C 0.046 H 128.1°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#121C04
RGBrgb(18, 28, 4)
HSLhsl(85, 75%, 6%)
HSVhsv(85, 86%, 11%)
CMYKcmyk(35.7%, 0%, 85.7%, 89%)
CIE-LABlab(8.72, -9.47, 11.24)
CIE-LCHlch(8.72, 14.69, 130.10°)
OKLaboklab(20.97% -0.0281 0.0359)
OKLCHoklch(20.97% 0.046 128.1)
XYZxyz(0.6866, 0.9679, 0.2655)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C04 #0E041C
analogous
#1C1A04 #121C04 #061C04
triadic
#121C04 #04121C #1C0412
tetradic
#121C04 #041C1A #0E041C #1C0406
square
#121C04 #041C1A #0E041C #1C0406
split-complementary
#121C04 #04061C #1A041C
monochromatic
#111B04 #111B04 #121C04 #34520C #578713

Accessibility & contrast

On white

17.59
#121C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#121C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121C04
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C04#FFFFFF#000000##FFFFFF
##121C041.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1902
Deuteranopia (green-blind)
#1C1905
Tritanopia (blue-blind)
#131A17
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #121c04;
/* rgb */ color: rgb(18, 28, 4);
/* oklch */ color: oklch(21.0% 0.046 128.1);
Tailwind
colors: {
  custom: {
    50: '#4f5848',
    500: '#121c04',
    950: '#000000',
  },
}
SCSS
$custom: #121c04;
$custom-light: #4f5848;
$custom-dark: #000000;
JSON
{
  "hex": "#121c04",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 4
  },
  "hsl": {
    "h": 85,
    "s": 75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20974,
    "c": 0.04556,
    "h": 128.1
  },
  "luminance": 0.00968
}

Semantic roles & 50–950 ramp

primary
#121C04
secondary
#381D5E
accent
#36F284
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #121C04

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

Preview Lab → · Contrast checker → · Palette generator →

#121C04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva