#1A2000#1A2000

#1A2000 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 22.9% C 0.054 H 119.3°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#1A2000
RGBrgb(26, 32, 0)
HSLhsl(71, 100%, 6%)
HSVhsv(71, 100%, 13%)
CMYKcmyk(18.8%, 0%, 100%, 87.5%)
CIE-LABlab(10.94, -8.70, 16.11)
CIE-LCHlch(10.94, 18.31, 118.37°)
OKLaboklab(22.93% -0.0265 0.0471)
OKLCHoklch(22.93% 0.054 119.3)
XYZxyz(0.9425, 1.2526, 0.1921)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2000 #060020
analogous
#201600 #1A2000 #0A2000
triadic
#1A2000 #001A20 #20001A
tetradic
#1A2000 #002016 #060020 #20000A
square
#1A2000 #002016 #060020 #20000A
split-complementary
#1A2000 #000A20 #160020
monochromatic
#191F00 #191F00 #1A2000 #4C5D00 #7D9A00

Accessibility & contrast

On white

16.79
#1A2000 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2000
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2000#FFFFFF#000000##FFFFFF
##1A20001.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2000;
/* rgb */ color: rgb(26, 32, 0);
/* oklch */ color: oklch(22.9% 0.054 119.3);
Tailwind
colors: {
  custom: {
    50: '#565b46',
    500: '#1a2000',
    950: '#000000',
  },
}
SCSS
$custom: #1a2000;
$custom-light: #565b46;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2000",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 0
  },
  "hsl": {
    "h": 71.25,
    "s": 100,
    "l": 6.275
  },
  "oklch": {
    "l": 0.22929,
    "c": 0.05406,
    "h": 119.3
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#1A2000
secondary
#231369
accent
#29FF51
background
#F5F5F3
surface
#E9E9E5
border
#C5C5C1
text
#030400
muted
#787977

Preview Lab

Preview with #1A2000

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

Preview Lab → · Contrast checker → · Palette generator →

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