#1A2004#1A2004

#1A2004 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.0% C 0.048 H 120.2°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#1A2004
RGBrgb(26, 32, 4)
HSLhsl(73, 78%, 7%)
HSVhsv(73, 88%, 13%)
CMYKcmyk(18.8%, 0%, 87.5%, 87.5%)
CIE-LABlab(11.00, -8.15, 14.57)
CIE-LCHlch(11.00, 16.69, 119.21°)
OKLaboklab(23% -0.0239 0.0411)
OKLCHoklch(23% 0.048 120.2)
XYZxyz(0.9644, 1.2614, 0.3075)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2004 #0A0420
analogous
#201804 #1A2004 #0C2004
triadic
#1A2004 #041A20 #20041A
tetradic
#1A2004 #042018 #0A0420 #20040C
square
#1A2004 #042018 #0A0420 #20040C
split-complementary
#1A2004 #040C20 #180420
monochromatic
#161B03 #161B03 #1A2004 #46560B #728D12

Accessibility & contrast

On white

16.77
#1A2004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1A2004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2004
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2004#FFFFFF#000000##FFFFFF
##1A20041.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E02
Deuteranopia (green-blind)
#221E06
Tritanopia (blue-blind)
#1C1E1A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1a2004;
/* rgb */ color: rgb(26, 32, 4);
/* oklch */ color: oklch(23.0% 0.048 120.2);
Tailwind
colors: {
  custom: {
    50: '#565b48',
    500: '#1a2004',
    950: '#000000',
  },
}
SCSS
$custom: #1a2004;
$custom-light: #565b48;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2004",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 72.857,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.23,
    "c": 0.04752,
    "h": 120.2
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#1A2004
secondary
#2C1D63
accent
#34F45D
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1A2004

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

Preview Lab → · Contrast checker → · Palette generator →

#1A2004 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva