#122B04#122B04

#122B04 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 25.9% C 0.070 H 136.3°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#122B04
RGBrgb(18, 43, 4)
HSLhsl(98, 83%, 9%)
HSVhsv(98, 91%, 17%)
CMYKcmyk(58.1%, 0%, 90.7%, 83.1%)
CIE-LABlab(14.76, -18.30, 19.52)
CIE-LCHlch(14.76, 26.76, 133.16°)
OKLaboklab(25.91% -0.0509 0.0486)
OKLCHoklch(25.91% 0.07 136.3)
XYZxyz(1.1352, 1.8650, 0.4150)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B04 #1D042B
analogous
#262B04 #122B04 #042B0A
triadic
#122B04 #04122B #2B0412
tetradic
#122B04 #04262B #1D042B #2B0A04
square
#122B04 #04262B #1D042B #2B0A04
split-complementary
#122B04 #0A042B #2B0426
monochromatic
#0C1C03 #0C1C03 #122B04 #296309 #419B0E

Accessibility & contrast

On white

15.29
#122B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#122B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B04
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B04#FFFFFF#000000##FFFFFF
##122B041.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2A2407
Tritanopia (blue-blind)
#112923
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122b04;
/* rgb */ color: rgb(18, 43, 4);
/* oklch */ color: oklch(25.9% 0.070 136.3);
Tailwind
colors: {
  custom: {
    50: '#526448',
    500: '#122b04',
    950: '#000000',
  },
}
SCSS
$custom: #122b04;
$custom-light: #526448;
$custom-dark: #000000;
JSON
{
  "hex": "#122b04",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 98.462,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.2591,
    "c": 0.07043,
    "h": 136.3
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

primary
#122B04
secondary
#511D6E
accent
#2EF9B1
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #122B04

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

Preview Lab → · Contrast checker → · Palette generator →

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