#121C02#121C02

#121C02 is a very dark, muted yellow-green. Relative luminance 0.010; OKLCH L 20.9% C 0.049 H 126.9°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#121C02
RGBrgb(18, 28, 2)
HSLhsl(83, 87%, 6%)
HSVhsv(83, 93%, 11%)
CMYKcmyk(35.7%, 0%, 92.9%, 89%)
CIE-LABlab(8.68, -9.75, 12.00)
CIE-LCHlch(8.68, 15.46, 129.09°)
OKLaboklab(20.93% -0.0296 0.0393)
OKLCHoklch(20.93% 0.049 126.9)
XYZxyz(0.6757, 0.9635, 0.2078)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121C02 #0C021C
analogous
#1C1902 #121C02 #051C02
triadic
#121C02 #02121C #1C0212
tetradic
#121C02 #021C19 #0C021C #1C0205
square
#121C02 #021C19 #0C021C #1C0205
split-complementary
#121C02 #02051C #19021C
monochromatic
#121D02 #121D02 #121D02 #375506 #5B8E0A

Accessibility & contrast

On white

17.61
#121C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121C02
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121C02#FFFFFF#000000##FFFFFF
##121C021.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1900
Deuteranopia (green-blind)
#1D1903
Tritanopia (blue-blind)
#131A16
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #121c02;
/* rgb */ color: rgb(18, 28, 2);
/* oklch */ color: oklch(20.9% 0.049 126.9);
Tailwind
colors: {
  custom: {
    50: '#4f5847',
    500: '#121c02',
    950: '#000000',
  },
}
SCSS
$custom: #121c02;
$custom-light: #4f5847;
$custom-dark: #000000;
JSON
{
  "hex": "#121c02",
  "rgb": {
    "r": 18,
    "g": 28,
    "b": 2
  },
  "hsl": {
    "h": 83.077,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.20932,
    "c": 0.04918,
    "h": 126.9
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#121C02
secondary
#341862
accent
#2BFD7C
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #121C02

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

Preview Lab → · Contrast checker → · Palette generator →

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