#122C04#122C04

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

Color values

HEX#122C04
RGBrgb(18, 44, 4)
HSLhsl(99, 83%, 9%)
HSVhsv(99, 91%, 17%)
CMYKcmyk(59.1%, 0%, 90.9%, 82.7%)
CIE-LABlab(15.16, -18.80, 20.03)
CIE-LCHlch(15.16, 27.47, 133.19°)
OKLaboklab(26.24% -0.0523 0.0494)
OKLCHoklch(26.24% 0.072 136.6)
XYZxyz(1.1720, 1.9386, 0.4273)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C04 #1E042C
analogous
#262C04 #122C04 #042C0A
triadic
#122C04 #04122C #2C0412
tetradic
#122C04 #04262C #1E042C #2C0A04
square
#122C04 #04262C #1E042C #2C0A04
split-complementary
#122C04 #0A042C #2C0426
monochromatic
#0B1C03 #0B1C03 #122C04 #296409 #409C0E

Accessibility & contrast

On white

15.13
#122C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122C04
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C04#FFFFFF#000000##FFFFFF
##122C041.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122c04;
/* rgb */ color: rgb(18, 44, 4);
/* oklch */ color: oklch(26.2% 0.072 136.6);
Tailwind
colors: {
  custom: {
    50: '#526548',
    500: '#122c04',
    950: '#000000',
  },
}
SCSS
$custom: #122c04;
$custom-light: #526548;
$custom-dark: #000000;
JSON
{
  "hex": "#122c04",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 99,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26238,
    "c": 0.07196,
    "h": 136.6
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#122C04
secondary
#521D6F
accent
#2EFAB2
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #122C04

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

Preview Lab → · Contrast checker → · Palette generator →

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