#122C03#122C03

#122C03 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.073 H 136.2°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#122C03
RGBrgb(18, 44, 3)
HSLhsl(98, 87%, 9%)
HSVhsv(98, 93%, 17%)
CMYKcmyk(59.1%, 0%, 93.2%, 82.7%)
CIE-LABlab(15.15, -18.94, 20.42)
CIE-LCHlch(15.15, 27.85, 132.84°)
OKLaboklab(26.23% -0.0528 0.0506)
OKLCHoklch(26.23% 0.073 136.2)
XYZxyz(1.1665, 1.9365, 0.3984)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C03 #1D032C
analogous
#272C03 #122C03 #032C09
triadic
#122C03 #03122C #2C0312
tetradic
#122C03 #03272C #1D032C #2C0903
square
#122C03 #03272C #1D032C #2C0903
split-complementary
#122C03 #09032C #2C0327
monochromatic
#0C1D02 #0C1D02 #122C03 #296507 #419F0B

Accessibility & contrast

On white

15.14
#122C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#122C03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C03
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C03#FFFFFF#000000##FFFFFF
##122C031.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2B2506
Tritanopia (blue-blind)
#112A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122c03;
/* rgb */ color: rgb(18, 44, 3);
/* oklch */ color: oklch(26.2% 0.073 136.2);
Tailwind
colors: {
  custom: {
    50: '#526548',
    500: '#122c03',
    950: '#000000',
  },
}
SCSS
$custom: #122c03;
$custom-light: #526548;
$custom-dark: #000000;
JSON
{
  "hex": "#122c03",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 98.049,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26225,
    "c": 0.07309,
    "h": 136.2
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#122C03
secondary
#511B70
accent
#2AFDB0
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #122C03

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

Preview Lab → · Contrast checker → · Palette generator →

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