#122A01#122A01

#122A01 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.5% C 0.073 H 134.8°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#122A01
RGBrgb(18, 42, 1)
HSLhsl(95, 95%, 8%)
HSVhsv(95, 98%, 16%)
CMYKcmyk(57.1%, 0%, 97.6%, 83.5%)
CIE-LABlab(14.33, -18.20, 20.17)
CIE-LCHlch(14.33, 27.17, 132.07°)
OKLaboklab(25.54% -0.0511 0.0515)
OKLCHoklch(25.54% 0.073 134.8)
XYZxyz(1.0829, 1.7867, 0.3165)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A01 #19012A
analogous
#262A01 #122A01 #012A04
triadic
#122A01 #01122A #2A0112
tetradic
#122A01 #01262A #19012A #2A0401
square
#122A01 #01262A #19012A #2A0401
split-complementary
#122A01 #04012A #2A0126
monochromatic
#0D1E01 #0D1E01 #122A01 #2C6602 #45A204

Accessibility & contrast

On white

15.47
#122A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#122A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A01
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A01#FFFFFF#000000##FFFFFF
##122A011.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2500
Deuteranopia (green-blind)
#292404
Tritanopia (blue-blind)
#112822
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #122a01;
/* rgb */ color: rgb(18, 42, 1);
/* oklch */ color: oklch(25.5% 0.073 134.8);
Tailwind
colors: {
  custom: {
    50: '#526447',
    500: '#122a01',
    950: '#000000',
  },
}
SCSS
$custom: #122a01;
$custom-light: #526447;
$custom-dark: #000000;
JSON
{
  "hex": "#122a01",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 95.122,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25539,
    "c": 0.07255,
    "h": 134.8
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#122A01
secondary
#4B1670
accent
#29FFA6
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #122A01

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

Preview Lab → · Contrast checker → · Palette generator →

#122A01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva