#121D04#121D04

#121D04 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 21.3% C 0.047 H 129.1°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#121D04
RGBrgb(18, 29, 4)
HSLhsl(86, 76%, 6%)
HSVhsv(86, 86%, 11%)
CMYKcmyk(37.9%, 0%, 86.2%, 88.6%)
CIE-LABlab(9.12, -10.22, 11.82)
CIE-LCHlch(9.12, 15.62, 130.84°)
OKLaboklab(21.3% -0.0298 0.0368)
OKLCHoklch(21.3% 0.047 129.1)
XYZxyz(0.7107, 1.0161, 0.2735)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121D04 #0F041D
analogous
#1D1C04 #121D04 #061D04
triadic
#121D04 #04121D #1D0412
tetradic
#121D04 #041D1C #0F041D #1D0406
square
#121D04 #041D1C #0F041D #1D0406
split-complementary
#121D04 #04061D #1C041D
monochromatic
#111B04 #111B04 #121D04 #33530B #558913

Accessibility & contrast

On white

17.45
#121D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#121D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121D04
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121D04#FFFFFF#000000##FFFFFF
##121D041.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1A02
Deuteranopia (green-blind)
#1D1905
Tritanopia (blue-blind)
#131B18
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #121d04;
/* rgb */ color: rgb(18, 29, 4);
/* oklch */ color: oklch(21.3% 0.047 129.1);
Tailwind
colors: {
  custom: {
    50: '#4f5948',
    500: '#121d04',
    950: '#000000',
  },
}
SCSS
$custom: #121d04;
$custom-light: #4f5948;
$custom-dark: #000000;
JSON
{
  "hex": "#121d04",
  "rgb": {
    "r": 18,
    "g": 29,
    "b": 4
  },
  "hsl": {
    "h": 86.4,
    "s": 75.758,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21302,
    "c": 0.04733,
    "h": 129.1
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#121D04
secondary
#3A1D5F
accent
#35F289
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #121D04

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

Preview Lab → · Contrast checker → · Palette generator →

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