#122903#122903

#122903 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.2% C 0.069 H 135.3°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#122903
RGBrgb(18, 41, 3)
HSLhsl(96, 86%, 9%)
HSVhsv(96, 93%, 16%)
CMYKcmyk(56.1%, 0%, 92.7%, 83.9%)
CIE-LABlab(13.95, -17.42, 18.87)
CIE-LCHlch(13.95, 25.68, 132.72°)
OKLaboklab(25.24% -0.0487 0.0482)
OKLCHoklch(25.24% 0.069 135.3)
XYZxyz(1.0588, 1.7210, 0.3625)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122903 #1A0329
analogous
#252903 #122903 #032907
triadic
#122903 #031229 #290312
tetradic
#122903 #032529 #1A0329 #290703
square
#122903 #032529 #1A0329 #290703
split-complementary
#122903 #070329 #290325
monochromatic
#0D1D02 #0D1D02 #122903 #2B6207 #449B0B

Accessibility & contrast

On white

15.62
#122903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#122903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122903
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122903#FFFFFF#000000##FFFFFF
##1229031.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#282306
Tritanopia (blue-blind)
#112722
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #122903;
/* rgb */ color: rgb(18, 41, 3);
/* oklch */ color: oklch(25.2% 0.069 135.3);
Tailwind
colors: {
  custom: {
    50: '#516348',
    500: '#122903',
    950: '#000000',
  },
}
SCSS
$custom: #122903;
$custom-light: #516348;
$custom-dark: #000000;
JSON
{
  "hex": "#122903",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 3
  },
  "hsl": {
    "h": 96.316,
    "s": 86.364,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25238,
    "c": 0.06855,
    "h": 135.3
  },
  "luminance": 0.01721
}

Semantic roles & 50–950 ramp

primary
#122903
secondary
#4D1B6D
accent
#2BFDAA
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #122903

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

Preview Lab → · Contrast checker → · Palette generator →

#122903 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva