#122B03#122B03

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

Color values

HEX#122B03
RGBrgb(18, 43, 3)
HSLhsl(98, 87%, 9%)
HSVhsv(98, 93%, 17%)
CMYKcmyk(58.1%, 0%, 93%, 83.1%)
CIE-LABlab(14.75, -18.44, 19.91)
CIE-LCHlch(14.75, 27.14, 132.81°)
OKLaboklab(25.9% -0.0514 0.0498)
OKLCHoklch(25.9% 0.072 135.9)
XYZxyz(1.1297, 1.8629, 0.3862)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B03 #1C032B
analogous
#262B03 #122B03 #032B08
triadic
#122B03 #03122B #2B0312
tetradic
#122B03 #03262B #1C032B #2B0803
square
#122B03 #03262B #1C032B #2B0803
split-complementary
#122B03 #08032B #2B0326
monochromatic
#0C1D02 #0C1D02 #122B03 #2A6407 #429D0B

Accessibility & contrast

On white

15.30
#122B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B03
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B03#FFFFFF#000000##FFFFFF
##122B031.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122b03;
/* rgb */ color: rgb(18, 43, 3);
/* oklch */ color: oklch(25.9% 0.072 135.9);
Tailwind
colors: {
  custom: {
    50: '#526448',
    500: '#122b03',
    950: '#000000',
  },
}
SCSS
$custom: #122b03;
$custom-light: #526448;
$custom-dark: #000000;
JSON
{
  "hex": "#122b03",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 3
  },
  "hsl": {
    "h": 97.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.25896,
    "c": 0.07159,
    "h": 135.9
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#122B03
secondary
#4F1B6F
accent
#2BFDAE
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #122B03

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

Preview Lab → · Contrast checker → · Palette generator →

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