#20261E#20261E

#20261E is a dark, near-neutral green. Relative luminance 0.018; OKLCH L 26.0% C 0.017 H 137.9°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#20261E
RGBrgb(32, 38, 30)
HSLhsl(105, 12%, 13%)
HSVhsv(105, 21%, 15%)
CMYKcmyk(15.8%, 0%, 21.1%, 85.1%)
CIE-LABlab(14.33, -4.66, 4.42)
CIE-LCHlch(14.33, 6.43, 136.53°)
OKLaboklab(25.98% -0.0126 0.0114)
OKLCHoklch(25.98% 0.017 137.9)
XYZxyz(1.5231, 1.7870, 1.4927)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20261E #241E26
analogous
#24261E #20261E #1E2620
triadic
#20261E #1E2026 #261E20
tetradic
#20261E #1E2426 #241E26 #26201E
square
#20261E #1E2426 #241E26 #26201E
split-complementary
#20261E #201E26 #261E24
monochromatic
#0E110D #0E110D #20261E #3D4839 #5A6A54

Accessibility & contrast

On white

15.47
#20261E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20261E
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20261E#FFFFFF#000000##FFFFFF
##20261E1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251E
Deuteranopia (green-blind)
#26241E
Tritanopia (blue-blind)
#202524
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #20261e;
/* rgb */ color: rgb(32, 38, 30);
/* oklch */ color: oklch(26.0% 0.017 137.9);
Tailwind
colors: {
  custom: {
    50: '#5b6059',
    500: '#20261e',
    950: '#000000',
  },
}
SCSS
$custom: #20261e;
$custom-light: #5b6059;
$custom-dark: #000000;
JSON
{
  "hex": "#20261e",
  "rgb": {
    "r": 32,
    "g": 38,
    "b": 30
  },
  "hsl": {
    "h": 105,
    "s": 11.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25975,
    "c": 0.017,
    "h": 137.9
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#20261E
secondary
#534956
accent
#73B5A4
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #20261E

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

Preview Lab → · Contrast checker → · Palette generator →

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