#20261C#20261C

#20261C is a dark, muted yellow-green. Relative luminance 0.018; OKLCH L 25.9% C 0.020 H 133.0°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#20261C
RGBrgb(32, 38, 28)
HSLhsl(96, 15%, 13%)
HSVhsv(96, 26%, 15%)
CMYKcmyk(15.8%, 0%, 26.3%, 85.1%)
CIE-LABlab(14.27, -5.11, 5.76)
CIE-LCHlch(14.27, 7.70, 131.58°)
OKLaboklab(25.91% -0.0137 0.0148)
OKLCHoklch(25.91% 0.02 133)
XYZxyz(1.4983, 1.7771, 1.3625)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20261C #221C26
analogous
#25261C #20261C #1C261D
triadic
#20261C #1C2026 #261C20
tetradic
#20261C #1C2526 #221C26 #261D1C
square
#20261C #1C2526 #221C26 #261D1C
split-complementary
#20261C #1D1C26 #261C25
monochromatic
#0F120D #0F120D #20261C #3E4936 #5B6C50

Accessibility & contrast

On white

15.49
#20261C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#20261C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20261C
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20261C#FFFFFF#000000##FFFFFF
##20261C1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27241B
Deuteranopia (green-blind)
#26241C
Tritanopia (blue-blind)
#202523
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #20261c;
/* rgb */ color: rgb(32, 38, 28);
/* oklch */ color: oklch(25.9% 0.020 133.0);
Tailwind
colors: {
  custom: {
    50: '#5b6058',
    500: '#20261c',
    950: '#000000',
  },
}
SCSS
$custom: #20261c;
$custom-light: #5b6058;
$custom-dark: #000000;
JSON
{
  "hex": "#20261c",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 28
  },
  "hsl": {
    "h": 96,
    "s": 15.152,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25912,
    "c": 0.02016,
    "h": 133
  },
  "luminance": 0.01777
}

Semantic roles & 50–950 ramp

primary
#20261C
secondary
#514757
accent
#70B89B
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #20261C

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

Preview Lab → · Contrast checker → · Palette generator →

#20261C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva