#122408#122408

#122408 is a very dark, muted yellow-green. Relative luminance 0.014; OKLCH L 23.7% C 0.054 H 135.9°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#122408
RGBrgb(18, 36, 8)
HSLhsl(99, 64%, 9%)
HSVhsv(99, 78%, 14%)
CMYKcmyk(50%, 0%, 77.8%, 85.9%)
CIE-LABlab(12.01, -14.01, 14.23)
CIE-LCHlch(12.01, 19.97, 134.56°)
OKLaboklab(23.67% -0.0388 0.0376)
OKLCHoklch(23.67% 0.054 135.9)
XYZxyz(0.9241, 1.4078, 0.4527)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122408 #1A0824
analogous
#202408 #122408 #08240C
triadic
#122408 #081224 #240812
tetradic
#122408 #082024 #1A0824 #240C08
square
#122408 #082024 #1A0824 #240C08
split-complementary
#122408 #0C0824 #240820
monochromatic
#0D1906 #0D1906 #122408 #2B5613 #44881E

Accessibility & contrast

On white

16.39
#122408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#122408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122408
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122408#FFFFFF#000000##FFFFFF
##1224081.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262006
Deuteranopia (green-blind)
#231F0A
Tritanopia (blue-blind)
#11221E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #122408;
/* rgb */ color: rgb(18, 36, 8);
/* oklch */ color: oklch(23.7% 0.054 135.9);
Tailwind
colors: {
  custom: {
    50: '#505f4a',
    500: '#122408',
    950: '#000000',
  },
}
SCSS
$custom: #122408;
$custom-light: #505f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#122408",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 8
  },
  "hsl": {
    "h": 98.571,
    "s": 63.636,
    "l": 8.627
  },
  "oklch": {
    "l": 0.23672,
    "c": 0.05405,
    "h": 135.9
  },
  "luminance": 0.01408
}

Semantic roles & 50–950 ramp

primary
#122408
secondary
#4D2662
accent
#41E7AC
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020401
muted
#787977

Preview Lab

Preview with #122408

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

Preview Lab → · Contrast checker → · Palette generator →

#122408 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva