#121A0C#121A0C

#121A0C is a very dark, muted yellow-green. Relative luminance 0.009; OKLCH L 20.5% C 0.029 H 132.7°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#121A0C
RGBrgb(18, 26, 12)
HSLhsl(94, 37%, 7%)
HSVhsv(94, 54%, 10%)
CMYKcmyk(30.8%, 0%, 53.8%, 89.8%)
CIE-LABlab(8.07, -6.73, 7.00)
CIE-LCHlch(8.07, 9.71, 133.91°)
OKLaboklab(20.5% -0.0196 0.0213)
OKLCHoklch(20.5% 0.029 132.7)
XYZxyz(0.6852, 0.8939, 0.4842)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121A0C #140C1A
analogous
#191A0C #121A0C #0C1A0D
triadic
#121A0C #0C121A #1A0C12
tetradic
#121A0C #0C191A #140C1A #1A0D0C
square
#121A0C #0C191A #140C1A #1A0D0C
split-complementary
#121A0C #0D0C1A #1A0C19
monochromatic
#0E150A #0E150A #121A0C #2F441F #4C6E33

Accessibility & contrast

On white

17.81
#121A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #121A0C
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121A0C#FFFFFF#000000##FFFFFF
##121A0C1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B180B
Deuteranopia (green-blind)
#1A170D
Tritanopia (blue-blind)
#121916
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #121a0c;
/* rgb */ color: rgb(18, 26, 12);
/* oklch */ color: oklch(20.5% 0.029 132.7);
Tailwind
colors: {
  custom: {
    50: '#4f564c',
    500: '#121a0c',
    950: '#000000',
  },
}
SCSS
$custom: #121a0c;
$custom-light: #4f564c;
$custom-dark: #000000;
JSON
{
  "hex": "#121a0c",
  "rgb": {
    "r": 18,
    "g": 26,
    "b": 12
  },
  "hsl": {
    "h": 94.286,
    "s": 36.842,
    "l": 7.451
  },
  "oklch": {
    "l": 0.20502,
    "c": 0.02897,
    "h": 132.7
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#121A0C
secondary
#433052
accent
#5BCD9C
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020301
muted
#787877

Preview Lab

Preview with #121A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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