#23271D#23271D

#23271D is a dark, near-neutral yellow-green. Relative luminance 0.019; OKLCH L 26.5% C 0.019 H 125.4°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#23271D
RGBrgb(35, 39, 29)
HSLhsl(84, 15%, 13%)
HSVhsv(84, 26%, 15%)
CMYKcmyk(10.3%, 0%, 25.6%, 84.7%)
CIE-LABlab(14.94, -4.14, 6.02)
CIE-LCHlch(14.94, 7.31, 124.49°)
OKLaboklab(26.52% -0.0109 0.0154)
OKLCHoklch(26.52% 0.019 125.4)
XYZxyz(1.6404, 1.8971, 1.4419)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23271D #211D27
analogous
#27261D #23271D #1E271D
triadic
#23271D #1D2327 #271D23
tetradic
#23271D #1D2726 #211D27 #271D1E
square
#23271D #1D2726 #211D27 #271D1E
split-complementary
#23271D #1D1E27 #261D27
monochromatic
#10120D #10120D #23271D #424A37 #626D51

Accessibility & contrast

On white

15.22
#23271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#23271D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23271D
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23271D#FFFFFF#000000##FFFFFF
##23271D1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261C
Deuteranopia (green-blind)
#28251D
Tritanopia (blue-blind)
#242624
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #23271d;
/* rgb */ color: rgb(35, 39, 29);
/* oklch */ color: oklch(26.5% 0.019 125.4);
Tailwind
colors: {
  custom: {
    50: '#5d6158',
    500: '#23271d',
    950: '#000000',
  },
}
SCSS
$custom: #23271d;
$custom-light: #5d6158;
$custom-dark: #000000;
JSON
{
  "hex": "#23271d",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 84,
    "s": 14.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.26522,
    "c": 0.0189,
    "h": 125.4
  },
  "luminance": 0.01897
}

Semantic roles & 50–950 ramp

primary
#23271D
secondary
#4E4858
accent
#70B78D
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #23271D

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

Preview Lab → · Contrast checker → · Palette generator →

#23271D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva