#122D04#122D04

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

Color values

HEX#122D04
RGBrgb(18, 45, 4)
HSLhsl(100, 84%, 10%)
HSVhsv(100, 91%, 18%)
CMYKcmyk(60%, 0%, 91.1%, 82.4%)
CIE-LABlab(15.56, -19.30, 20.54)
CIE-LCHlch(15.56, 28.18, 133.22°)
OKLaboklab(26.57% -0.0536 0.0502)
OKLCHoklch(26.57% 0.073 136.9)
XYZxyz(1.2097, 2.0141, 0.4398)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D04 #1F042D
analogous
#272D04 #122D04 #042D0B
triadic
#122D04 #04122D #2D0412
tetradic
#122D04 #04272D #1F042D #2D0B04
square
#122D04 #04272D #1F042D #2D0B04
split-complementary
#122D04 #0B042D #2D0427
monochromatic
#0B1C02 #0B1C02 #122D04 #286509 #3F9D0E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##122D04#FFFFFF#000000##FFFFFF
##122D041.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)
#2B2607
Tritanopia (blue-blind)
#102B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122d04;
/* rgb */ color: rgb(18, 45, 4);
/* oklch */ color: oklch(26.6% 0.073 136.9);
Tailwind
colors: {
  custom: {
    50: '#526648',
    500: '#122d04',
    950: '#000000',
  },
}
SCSS
$custom: #122d04;
$custom-light: #526648;
$custom-dark: #000000;
JSON
{
  "hex": "#122d04",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 99.512,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26567,
    "c": 0.07347,
    "h": 136.9
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#122D04
secondary
#531D70
accent
#2EFAB4
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #122D04

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

Preview Lab → · Contrast checker → · Palette generator →

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