#1A2012#1A2012

#1A2012 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.3% C 0.027 H 127.2°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#1A2012
RGBrgb(26, 32, 18)
HSLhsl(86, 28%, 10%)
HSVhsv(86, 44%, 13%)
CMYKcmyk(18.8%, 0%, 43.8%, 87.5%)
CIE-LABlab(11.25, -6.04, 8.43)
CIE-LCHlch(11.25, 10.36, 125.62°)
OKLaboklab(23.28% -0.0164 0.0216)
OKLCHoklch(23.28% 0.027 127.2)
XYZxyz(1.0517, 1.2963, 0.7670)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2012 #181220
analogous
#201F12 #1A2012 #132012
triadic
#1A2012 #121A20 #20121A
tetradic
#1A2012 #12201F #181220 #201213
square
#1A2012 #12201F #181220 #201213
split-complementary
#1A2012 #121320 #1F1220
monochromatic
#10140B #10140B #1A2012 #3A4728 #5A6E3E

Accessibility & contrast

On white

16.68
#1A2012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1A2012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2012
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2012#FFFFFF#000000##FFFFFF
##1A20121.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211E11
Deuteranopia (green-blind)
#211E13
Tritanopia (blue-blind)
#1B1F1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1a2012;
/* rgb */ color: rgb(26, 32, 18);
/* oklch */ color: oklch(23.3% 0.027 127.2);
Tailwind
colors: {
  custom: {
    50: '#565b50',
    500: '#1a2012',
    950: '#000000',
  },
}
SCSS
$custom: #1a2012;
$custom-light: #565b50;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2012",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 85.714,
    "s": 28,
    "l": 9.804
  },
  "oklch": {
    "l": 0.23278,
    "c": 0.02708,
    "h": 127.2
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#1A2012
secondary
#453955
accent
#63C48D
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#030402
muted
#787978

Preview Lab

Preview with #1A2012

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

Preview Lab → · Contrast checker → · Palette generator →

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