#121A02#121A02

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

Color values

HEX#121A02
RGBrgb(18, 26, 2)
HSLhsl(80, 86%, 5%)
HSVhsv(80, 92%, 10%)
CMYKcmyk(30.8%, 0%, 92.3%, 89.8%)
CIE-LABlab(7.87, -8.14, 10.82)
CIE-LCHlch(7.87, 13.55, 126.96°)
OKLaboklab(20.28% -0.0261 0.0377)
OKLCHoklch(20.28% 0.046 124.7)
XYZxyz(0.6298, 0.8718, 0.1925)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A02 #0A021A
analogous
#1A1602 #121A02 #061A02
triadic
#121A02 #02121A #1A0212
tetradic
#121A02 #021A16 #0A021A #1A0206
square
#121A02 #021A16 #0A021A #1A0206
split-complementary
#121A02 #02061A #16021A
monochromatic
#141C02 #141C02 #141C02 #395306 #618C0B

Accessibility & contrast

On white

17.88
#121A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#121A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121A02
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A02#FFFFFF#000000##FFFFFF
##121A021.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #121a02;
/* rgb */ color: rgb(18, 26, 2);
/* oklch */ color: oklch(20.3% 0.046 124.7);
Tailwind
colors: {
  custom: {
    50: '#4f5647',
    500: '#121a02',
    950: '#000000',
  },
}
SCSS
$custom: #121a02;
$custom-light: #4f5647;
$custom-dark: #000000;
JSON
{
  "hex": "#121a02",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 2
  },
  "hsl": {
    "h": 80,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.20276,
    "c": 0.04585,
    "h": 124.7
  },
  "luminance": 0.00872
}

Semantic roles & 50–950 ramp

primary
#121A02
secondary
#301860
accent
#2CFC71
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #121A02

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

Preview Lab → · Contrast checker → · Palette generator →

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