#121A04#121A04

#121A04 is a very dark, muted yellow-green. Relative luminance 0.009; OKLCH L 20.3% C 0.042 H 125.9°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#121A04
RGBrgb(18, 26, 4)
HSLhsl(82, 73%, 6%)
HSVhsv(82, 85%, 10%)
CMYKcmyk(30.8%, 0%, 84.6%, 89.8%)
CIE-LABlab(7.91, -7.86, 10.07)
CIE-LCHlch(7.91, 12.77, 127.99°)
OKLaboklab(20.32% -0.0246 0.034)
OKLCHoklch(20.32% 0.042 125.9)
XYZxyz(0.6408, 0.8761, 0.2502)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A04 #0C041A
analogous
#1A1704 #121A04 #071A04
triadic
#121A04 #04121A #1A0412
tetradic
#121A04 #041A17 #0C041A #1A0407
square
#121A04 #041A17 #0C041A #1A0407
split-complementary
#121A04 #04071A #17041A
monochromatic
#121B04 #121B04 #121B04 #374F0C #5B8414

Accessibility & contrast

On white

17.87
#121A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#121A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A04
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A04#FFFFFF#000000##FFFFFF
##121A041.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1802
Deuteranopia (green-blind)
#1B1705
Tritanopia (blue-blind)
#131815
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #121a04;
/* rgb */ color: rgb(18, 26, 4);
/* oklch */ color: oklch(20.3% 0.042 125.9);
Tailwind
colors: {
  custom: {
    50: '#4f5648',
    500: '#121a04',
    950: '#000000',
  },
}
SCSS
$custom: #121a04;
$custom-light: #4f5648;
$custom-dark: #000000;
JSON
{
  "hex": "#121a04",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 4
  },
  "hsl": {
    "h": 81.818,
    "s": 73.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.20321,
    "c": 0.042,
    "h": 125.9
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#121A04
secondary
#341E5C
accent
#38F07B
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #121A04

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

Preview Lab → · Contrast checker → · Palette generator →

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