#122402#122402

#122402 is a very dark, moderate yellow-green. Relative luminance 0.014; OKLCH L 23.6% C 0.062 H 132.7°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#122402
RGBrgb(18, 36, 2)
HSLhsl(92, 89%, 7%)
HSVhsv(92, 94%, 14%)
CMYKcmyk(50%, 0%, 94.4%, 85.9%)
CIE-LABlab(11.92, -14.92, 16.56)
CIE-LCHlch(11.92, 22.28, 132.02°)
OKLaboklab(23.57% -0.0422 0.0456)
OKLCHoklch(23.57% 0.062 132.7)
XYZxyz(0.8913, 1.3947, 0.2797)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122402 #140224
analogous
#232402 #122402 #022403
triadic
#122402 #021224 #240212
tetradic
#122402 #022324 #140224 #240302
square
#122402 #022324 #140224 #240302
split-complementary
#122402 #030224 #240223
monochromatic
#0E1D02 #0E1D02 #122402 #2F5E05 #4C9808

Accessibility & contrast

On white

16.42
#122402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122402
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122402#FFFFFF#000000##FFFFFF
##1224021.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#241F04
Tritanopia (blue-blind)
#12221D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #122402;
/* rgb */ color: rgb(18, 36, 2);
/* oklch */ color: oklch(23.6% 0.062 132.7);
Tailwind
colors: {
  custom: {
    50: '#505f47',
    500: '#122402',
    950: '#000000',
  },
}
SCSS
$custom: #122402;
$custom-light: #505f47;
$custom-dark: #000000;
JSON
{
  "hex": "#122402",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 2
  },
  "hsl": {
    "h": 91.765,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.23572,
    "c": 0.06213,
    "h": 132.7
  },
  "luminance": 0.01395
}

Semantic roles & 50–950 ramp

primary
#122402
secondary
#43186A
accent
#29FF9A
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #122402

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

Preview Lab → · Contrast checker → · Palette generator →

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