#122D03#122D03

#122D03 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.6% C 0.075 H 136.5°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#122D03
RGBrgb(18, 45, 3)
HSLhsl(99, 88%, 9%)
HSVhsv(99, 93%, 18%)
CMYKcmyk(60%, 0%, 93.3%, 82.4%)
CIE-LABlab(15.55, -19.43, 20.93)
CIE-LCHlch(15.55, 28.56, 132.87°)
OKLaboklab(26.55% -0.0541 0.0513)
OKLCHoklch(26.55% 0.075 136.5)
XYZxyz(1.2042, 2.0119, 0.4110)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D03 #1E032D
analogous
#272D03 #122D03 #032D09
triadic
#122D03 #03122D #2D0312
tetradic
#122D03 #03272D #1E032D #2D0903
square
#122D03 #03272D #1E032D #2D0903
split-complementary
#122D03 #09032D #2D0327
monochromatic
#0B1D02 #0B1D02 #122D03 #296607 #40A00B

Accessibility & contrast

On white

14.97
#122D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#122D03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D03
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D03#FFFFFF#000000##FFFFFF
##122D031.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2B2606
Tritanopia (blue-blind)
#112B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122d03;
/* rgb */ color: rgb(18, 45, 3);
/* oklch */ color: oklch(26.6% 0.075 136.5);
Tailwind
colors: {
  custom: {
    50: '#526648',
    500: '#122d03',
    950: '#000000',
  },
}
SCSS
$custom: #122d03;
$custom-light: #526648;
$custom-dark: #000000;
JSON
{
  "hex": "#122d03",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 98.571,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26553,
    "c": 0.07458,
    "h": 136.5
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#122D03
secondary
#521B71
accent
#2AFEB2
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #122D03

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

Preview Lab → · Contrast checker → · Palette generator →

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