#121802#121802

#121802 is a very dark, muted yellow-green. Relative luminance 0.008; OKLCH L 19.6% C 0.043 H 122.0°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#121802
RGBrgb(18, 24, 2)
HSLhsl(76, 85%, 5%)
HSVhsv(76, 92%, 9%)
CMYKcmyk(25%, 0%, 91.7%, 90.6%)
CIE-LABlab(7.10, -6.56, 9.69)
CIE-LCHlch(7.10, 11.71, 124.09°)
OKLaboklab(19.62% -0.0225 0.0361)
OKLCHoklch(19.62% 0.043 122)
XYZxyz(0.5871, 0.7862, 0.1783)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#121802 #080218
analogous
#181302 #121802 #071802
triadic
#121802 #021218 #180212
tetradic
#121802 #021813 #080218 #180207
square
#121802 #021813 #080218 #180207
split-complementary
#121802 #020718 #130218
monochromatic
#151C02 #151C02 #151C02 #3C5007 #67890B

Accessibility & contrast

On white

18.15
#121802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#121802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #121802
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##121802#FFFFFF#000000##FFFFFF
##1218021.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1601
Deuteranopia (green-blind)
#191603
Tritanopia (blue-blind)
#141613
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #121802;
/* rgb */ color: rgb(18, 24, 2);
/* oklch */ color: oklch(19.6% 0.043 122.0);
Tailwind
colors: {
  custom: {
    50: '#4f5447',
    500: '#121802',
    950: '#000000',
  },
}
SCSS
$custom: #121802;
$custom-light: #4f5447;
$custom-dark: #000000;
JSON
{
  "hex": "#121802",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 2
  },
  "hsl": {
    "h": 76.364,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.19623,
    "c": 0.04251,
    "h": 122
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#121802
secondary
#2B185E
accent
#2DFB65
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#020200
muted
#787877

Preview Lab

Preview with #121802

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

Preview Lab → · Contrast checker → · Palette generator →

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