#122B05#122B05

#122B05 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 25.9% C 0.069 H 136.7°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#122B05
RGBrgb(18, 43, 5)
HSLhsl(99, 79%, 9%)
HSVhsv(99, 88%, 17%)
CMYKcmyk(58.1%, 0%, 88.4%, 83.1%)
CIE-LABlab(14.77, -18.17, 19.12)
CIE-LCHlch(14.77, 26.38, 133.54°)
OKLaboklab(25.92% -0.0505 0.0475)
OKLCHoklch(25.92% 0.069 136.7)
XYZxyz(1.1407, 1.8672, 0.4439)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B05 #1E052B
analogous
#252B05 #122B05 #052B0B
triadic
#122B05 #05122B #2B0512
tetradic
#122B05 #05252B #1E052B #2B0B05
square
#122B05 #05252B #1E052B #2B0B05
split-complementary
#122B05 #0B052B #2B0525
monochromatic
#0B1B03 #0B1B03 #122B05 #29620B #409912

Accessibility & contrast

On white

15.29
#122B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#122B05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B05
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B05#FFFFFF#000000##FFFFFF
##122B051.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2701
Deuteranopia (green-blind)
#2A2408
Tritanopia (blue-blind)
#112923
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122b05;
/* rgb */ color: rgb(18, 43, 5);
/* oklch */ color: oklch(25.9% 0.069 136.7);
Tailwind
colors: {
  custom: {
    50: '#526449',
    500: '#122b05',
    950: '#000000',
  },
}
SCSS
$custom: #122b05;
$custom-light: #526449;
$custom-dark: #000000;
JSON
{
  "hex": "#122b05",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 99.474,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25924,
    "c": 0.06929,
    "h": 136.7
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#122B05
secondary
#521F6D
accent
#32F6B3
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020501
muted
#787A77

Preview Lab

Preview with #122B05

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

Preview Lab → · Contrast checker → · Palette generator →

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