#122803#122803

#122803 is a very dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 24.9% C 0.067 H 134.9°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#122803
RGBrgb(18, 40, 3)
HSLhsl(96, 86%, 8%)
HSVhsv(96, 93%, 16%)
CMYKcmyk(55%, 0%, 92.5%, 84.3%)
CIE-LABlab(13.55, -16.90, 18.34)
CIE-LCHlch(13.55, 24.94, 132.67°)
OKLaboklab(24.91% -0.0473 0.0474)
OKLCHoklch(24.91% 0.067 134.9)
XYZxyz(1.0247, 1.6527, 0.3511)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122803 #190328
analogous
#242803 #122803 #032806
triadic
#122803 #031228 #280312
tetradic
#122803 #032428 #190328 #280603
square
#122803 #032428 #190328 #280603
split-complementary
#122803 #060328 #280324
monochromatic
#0D1C02 #0D1C02 #122803 #2C6107 #459A0C

Accessibility & contrast

On white

15.78
#122803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#122803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122803
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122803#FFFFFF#000000##FFFFFF
##1228031.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#272206
Tritanopia (blue-blind)
#112621
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #122803;
/* rgb */ color: rgb(18, 40, 3);
/* oklch */ color: oklch(24.9% 0.067 134.9);
Tailwind
colors: {
  custom: {
    50: '#516248',
    500: '#122803',
    950: '#000000',
  },
}
SCSS
$custom: #122803;
$custom-light: #516248;
$custom-dark: #000000;
JSON
{
  "hex": "#122803",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 95.676,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24908,
    "c": 0.06701,
    "h": 134.9
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#122803
secondary
#4B1B6C
accent
#2CFCA8
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #122803

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

Preview Lab → · Contrast checker → · Palette generator →

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