#1A2202#1A2202

#1A2202 is a very dark, muted yellow-green. Relative luminance 0.014; OKLCH L 23.6% C 0.054 H 122.2°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#1A2202
RGBrgb(26, 34, 2)
HSLhsl(75, 89%, 7%)
HSVhsv(75, 94%, 13%)
CMYKcmyk(23.5%, 0%, 94.1%, 86.7%)
CIE-LABlab(11.74, -9.69, 16.41)
CIE-LCHlch(11.74, 19.06, 120.57°)
OKLaboklab(23.59% -0.0286 0.0455)
OKLCHoklch(23.59% 0.054 122.2)
XYZxyz(1.0090, 1.3680, 0.2683)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2202 #0A0222
analogous
#221A02 #1A2202 #0A2202
triadic
#1A2202 #021A22 #22021A
tetradic
#1A2202 #02221A #0A0222 #22020A
square
#1A2202 #02221A #0A0222 #22020A
split-complementary
#1A2202 #020A22 #1A0222
monochromatic
#161D02 #161D02 #1A2202 #465C05 #729609

Accessibility & contrast

On white

16.49
#1A2202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1A2202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2202
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2202#FFFFFF#000000##FFFFFF
##1A22021.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#251F00
Deuteranopia (green-blind)
#241F04
Tritanopia (blue-blind)
#1C201C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1a2202;
/* rgb */ color: rgb(26, 34, 2);
/* oklch */ color: oklch(23.6% 0.054 122.2);
Tailwind
colors: {
  custom: {
    50: '#565d47',
    500: '#1a2202',
    950: '#000000',
  },
}
SCSS
$custom: #1a2202;
$custom-light: #565d47;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2202",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 2
  },
  "hsl": {
    "h": 75,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.23587,
    "c": 0.05375,
    "h": 122.2
  },
  "luminance": 0.01368
}

Semantic roles & 50–950 ramp

primary
#1A2202
secondary
#2C1868
accent
#29FF5E
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1A2202

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

Preview Lab → · Contrast checker → · Palette generator →

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