#1A2002#1A2002

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

Color values

HEX#1A2002
RGBrgb(26, 32, 2)
HSLhsl(72, 88%, 7%)
HSVhsv(72, 94%, 13%)
CMYKcmyk(18.8%, 0%, 93.8%, 87.5%)
CIE-LABlab(10.97, -8.42, 15.34)
CIE-LCHlch(10.97, 17.50, 118.76°)
OKLaboklab(22.96% -0.0252 0.044)
OKLCHoklch(22.96% 0.051 119.8)
XYZxyz(0.9535, 1.2570, 0.2498)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2002 #080220
analogous
#201702 #1A2002 #0B2002
triadic
#1A2002 #021A20 #20021A
tetradic
#1A2002 #022017 #080220 #20020B
square
#1A2002 #022017 #080220 #20020B
split-complementary
#1A2002 #020B20 #170220
monochromatic
#171D02 #171D02 #1A2002 #495A06 #789309

Accessibility & contrast

On white

16.78
#1A2002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2002
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2002#FFFFFF#000000##FFFFFF
##1A20021.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2002;
/* rgb */ color: rgb(26, 32, 2);
/* oklch */ color: oklch(23.0% 0.051 119.8);
Tailwind
colors: {
  custom: {
    50: '#565b47',
    500: '#1a2002',
    950: '#000000',
  },
}
SCSS
$custom: #1a2002;
$custom-light: #565b47;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2002",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 72,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.22964,
    "c": 0.0507,
    "h": 119.8
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#1A2002
secondary
#281866
accent
#29FE54
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #1A2002

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

Preview Lab → · Contrast checker → · Palette generator →

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