#122801#122801

#122801 is a very dark, moderate yellow-green. Relative luminance 0.016; OKLCH L 24.9% C 0.070 H 134.1°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#122801
RGBrgb(18, 40, 1)
HSLhsl(94, 95%, 8%)
HSVhsv(94, 98%, 16%)
CMYKcmyk(55%, 0%, 97.5%, 84.3%)
CIE-LABlab(13.52, -17.19, 19.11)
CIE-LCHlch(13.52, 25.71, 131.96°)
OKLaboklab(24.88% -0.0484 0.05)
OKLCHoklch(24.88% 0.07 134.1)
XYZxyz(1.0137, 1.6483, 0.2935)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122801 #170128
analogous
#252801 #122801 #012803
triadic
#122801 #011228 #280112
tetradic
#122801 #012528 #170128 #280301
square
#122801 #012528 #170128 #280301
split-complementary
#122801 #030128 #280125
monochromatic
#0D1E01 #0D1E01 #122801 #2D6402 #489F04

Accessibility & contrast

On white

15.79
#122801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#122801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122801
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122801#FFFFFF#000000##FFFFFF
##1228011.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#272204
Tritanopia (blue-blind)
#122620
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #122801;
/* rgb */ color: rgb(18, 40, 1);
/* oklch */ color: oklch(24.9% 0.070 134.1);
Tailwind
colors: {
  custom: {
    50: '#516247',
    500: '#122801',
    950: '#000000',
  },
}
SCSS
$custom: #122801;
$custom-light: #516247;
$custom-dark: #000000;
JSON
{
  "hex": "#122801",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 93.846,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24879,
    "c": 0.06962,
    "h": 134.1
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#122801
secondary
#48166F
accent
#29FFA2
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #122801

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

Preview Lab → · Contrast checker → · Palette generator →

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