#122C01#122C01

#122C01 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.075 H 135.5°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#122C01
RGBrgb(18, 44, 1)
HSLhsl(96, 96%, 9%)
HSVhsv(96, 98%, 17%)
CMYKcmyk(59.1%, 0%, 97.7%, 82.7%)
CIE-LABlab(15.13, -19.20, 21.21)
CIE-LCHlch(15.13, 28.60, 132.15°)
OKLaboklab(26.2% -0.0538 0.0529)
OKLCHoklch(26.2% 0.075 135.5)
XYZxyz(1.1556, 1.9321, 0.3407)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C01 #1B012C
analogous
#282C01 #122C01 #012C06
triadic
#122C01 #01122C #2C0112
tetradic
#122C01 #01282C #1B012C #2C0601
square
#122C01 #01282C #1B012C #2C0601
split-complementary
#122C01 #06012C #2C0128
monochromatic
#0C1E01 #0C1E01 #122C01 #2A6802 #43A404

Accessibility & contrast

On white

15.15
#122C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#122C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C01
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C01#FFFFFF#000000##FFFFFF
##122C011.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2B2504
Tritanopia (blue-blind)
#112A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122c01;
/* rgb */ color: rgb(18, 44, 1);
/* oklch */ color: oklch(26.2% 0.075 135.5);
Tailwind
colors: {
  custom: {
    50: '#526547',
    500: '#122c01',
    950: '#000000',
  },
}
SCSS
$custom: #122c01;
$custom-light: #526547;
$custom-dark: #000000;
JSON
{
  "hex": "#122c01",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 96.279,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26198,
    "c": 0.07543,
    "h": 135.5
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#122C01
secondary
#4E1772
accent
#29FFAA
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #122C01

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

Preview Lab → · Contrast checker → · Palette generator →

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