#1A210B#1A210B

#1A210B is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.4% C 0.039 H 124.0°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#1A210B
RGBrgb(26, 33, 11)
HSLhsl(79, 50%, 9%)
HSVhsv(79, 67%, 13%)
CMYKcmyk(21.2%, 0%, 66.7%, 87.1%)
CIE-LABlab(11.49, -7.85, 12.39)
CIE-LCHlch(11.49, 14.67, 122.36°)
OKLaboklab(23.43% -0.022 0.0327)
OKLCHoklch(23.43% 0.039 124)
XYZxyz(1.0303, 1.3315, 0.5193)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A210B #120B21
analogous
#211D0B #1A210B #0F210B
triadic
#1A210B #0B1A21 #210B1A
tetradic
#1A210B #0B211D #120B21 #210B0F
square
#1A210B #0B211D #120B21 #210B0F
split-complementary
#1A210B #0B0F21 #1D0B21
monochromatic
#121708 #121708 #1A210B #3E4F1A #627D2A

Accessibility & contrast

On white

16.59
#1A210B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A210B
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A210B#FFFFFF#000000##FFFFFF
##1A210B1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F09
Deuteranopia (green-blind)
#221E0C
Tritanopia (blue-blind)
#1B1F1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1a210b;
/* rgb */ color: rgb(26, 33, 11);
/* oklch */ color: oklch(23.4% 0.039 124.0);
Tailwind
colors: {
  custom: {
    50: '#565c4b',
    500: '#1a210b',
    950: '#000000',
  },
}
SCSS
$custom: #1a210b;
$custom-light: #565c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a210b",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 11
  },
  "hsl": {
    "h": 79.091,
    "s": 50,
    "l": 8.627
  },
  "oklch": {
    "l": 0.2343,
    "c": 0.03943,
    "h": 124
  },
  "luminance": 0.01331
}

Semantic roles & 50–950 ramp

primary
#1A210B
secondary
#3B2C5C
accent
#4EDA7B
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#030401
muted
#787977

Preview Lab

Preview with #1A210B

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

Preview Lab → · Contrast checker → · Palette generator →

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