#122104#122104

#122104 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.6% C 0.054 H 132.1°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#122104
RGBrgb(18, 33, 4)
HSLhsl(91, 78%, 7%)
HSVhsv(91, 88%, 13%)
CMYKcmyk(45.5%, 0%, 87.9%, 87.1%)
CIE-LABlab(10.74, -12.90, 14.11)
CIE-LCHlch(10.74, 19.12, 132.44°)
OKLaboklab(22.62% -0.0364 0.0403)
OKLCHoklch(22.62% 0.054 132.1)
XYZxyz(0.8152, 1.2250, 0.3083)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122104 #130421
analogous
#212104 #122104 #042104
triadic
#122104 #041221 #210412
tetradic
#122104 #042121 #130421 #210404
square
#122104 #042121 #130421 #210404
split-complementary
#122104 #040421 #210421
monochromatic
#0F1B03 #0F1B03 #122104 #30580B #4E8E11

Accessibility & contrast

On white

16.87
#122104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#122104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122104
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122104#FFFFFF#000000##FFFFFF
##1221041.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E02
Deuteranopia (green-blind)
#211D06
Tritanopia (blue-blind)
#121F1B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #122104;
/* rgb */ color: rgb(18, 33, 4);
/* oklch */ color: oklch(22.6% 0.054 132.1);
Tailwind
colors: {
  custom: {
    50: '#505c48',
    500: '#122104',
    950: '#000000',
  },
}
SCSS
$custom: #122104;
$custom-light: #505c48;
$custom-dark: #000000;
JSON
{
  "hex": "#122104",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 91.034,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22617,
    "c": 0.05427,
    "h": 132.1
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#122104
secondary
#421D64
accent
#33F597
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #122104

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

Preview Lab → · Contrast checker → · Palette generator →

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