#122B01#122B01

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

Color values

HEX#122B01
RGBrgb(18, 43, 1)
HSLhsl(96, 95%, 9%)
HSVhsv(96, 98%, 17%)
CMYKcmyk(58.1%, 0%, 97.7%, 83.1%)
CIE-LABlab(14.73, -18.70, 20.69)
CIE-LCHlch(14.73, 27.89, 132.11°)
OKLaboklab(25.87% -0.0525 0.0522)
OKLCHoklch(25.87% 0.074 135.2)
XYZxyz(1.1188, 1.8585, 0.3285)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B01 #1A012B
analogous
#272B01 #122B01 #012B05
triadic
#122B01 #01122B #2B0112
tetradic
#122B01 #01272B #1A012B #2B0501
square
#122B01 #01272B #1A012B #2B0501
split-complementary
#122B01 #05012B #2B0127
monochromatic
#0D1E01 #0D1E01 #122B01 #2B6702 #44A304

Accessibility & contrast

On white

15.31
#122B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B01
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B01#FFFFFF#000000##FFFFFF
##122B011.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122b01;
/* rgb */ color: rgb(18, 43, 1);
/* oklch */ color: oklch(25.9% 0.074 135.2);
Tailwind
colors: {
  custom: {
    50: '#526447',
    500: '#122b01',
    950: '#000000',
  },
}
SCSS
$custom: #122b01;
$custom-light: #526447;
$custom-dark: #000000;
JSON
{
  "hex": "#122b01",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 95.714,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25869,
    "c": 0.074,
    "h": 135.2
  },
  "luminance": 0.01859
}

Semantic roles & 50–950 ramp

primary
#122B01
secondary
#4D1771
accent
#29FFA8
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #122B01

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

Preview Lab → · Contrast checker → · Palette generator →

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