#122A05#122A05

#122A05 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.6% C 0.068 H 136.5°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#122A05
RGBrgb(18, 42, 5)
HSLhsl(99, 79%, 9%)
HSVhsv(99, 88%, 16%)
CMYKcmyk(57.1%, 0%, 88.1%, 83.5%)
CIE-LABlab(14.37, -17.66, 18.61)
CIE-LCHlch(14.37, 25.66, 133.51°)
OKLaboklab(25.6% -0.0491 0.0466)
OKLCHoklch(25.6% 0.068 136.5)
XYZxyz(1.1048, 1.7954, 0.4319)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A05 #1D052A
analogous
#252A05 #122A05 #052A0B
triadic
#122A05 #05122A #2A0512
tetradic
#122A05 #05252A #1D052A #2A0B05
square
#122A05 #05252A #1D052A #2A0B05
split-complementary
#122A05 #0B052A #2A0525
monochromatic
#0C1B03 #0C1B03 #122A05 #29610C #419712

Accessibility & contrast

On white

15.45
#122A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122A05
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A05#FFFFFF#000000##FFFFFF
##122A051.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2602
Deuteranopia (green-blind)
#292408
Tritanopia (blue-blind)
#112823
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #122a05;
/* rgb */ color: rgb(18, 42, 5);
/* oklch */ color: oklch(25.6% 0.068 136.5);
Tailwind
colors: {
  custom: {
    50: '#526449',
    500: '#122a05',
    950: '#000000',
  },
}
SCSS
$custom: #122a05;
$custom-light: #526449;
$custom-dark: #000000;
JSON
{
  "hex": "#122a05",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 98.919,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25595,
    "c": 0.06771,
    "h": 136.5
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#122A05
secondary
#511F6C
accent
#33F5B1
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020501
muted
#787977

Preview Lab

Preview with #122A05

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

Preview Lab → · Contrast checker → · Palette generator →

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