#122D01#122D01

#122D01 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.5% C 0.077 H 135.8°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#122D01
RGBrgb(18, 45, 1)
HSLhsl(97, 96%, 9%)
HSVhsv(97, 98%, 18%)
CMYKcmyk(60%, 0%, 97.8%, 82.4%)
CIE-LABlab(15.53, -19.68, 21.72)
CIE-LCHlch(15.53, 29.31, 132.19°)
OKLaboklab(26.53% -0.0551 0.0536)
OKLCHoklch(26.53% 0.077 135.8)
XYZxyz(1.1933, 2.0075, 0.3533)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D01 #1C012D
analogous
#282D01 #122D01 #012D06
triadic
#122D01 #01122D #2D0112
tetradic
#122D01 #01282D #1C012D #2D0601
square
#122D01 #01282D #1C012D #2D0601
split-complementary
#122D01 #06012D #2D0128
monochromatic
#0C1E01 #0C1E01 #122D01 #2A6902 #42A504

Accessibility & contrast

On white

14.98
#122D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#122D01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D01
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D01#FFFFFF#000000##FFFFFF
##122D011.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2C2604
Tritanopia (blue-blind)
#112B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122d01;
/* rgb */ color: rgb(18, 45, 1);
/* oklch */ color: oklch(26.5% 0.077 135.8);
Tailwind
colors: {
  custom: {
    50: '#526647',
    500: '#122d01',
    950: '#000000',
  },
}
SCSS
$custom: #122d01;
$custom-light: #526647;
$custom-dark: #000000;
JSON
{
  "hex": "#122d01",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 96.818,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26527,
    "c": 0.07686,
    "h": 135.8
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#122D01
secondary
#4F1773
accent
#29FFAC
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #122D01

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

Preview Lab → · Contrast checker → · Palette generator →

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