#23271E#23271E

#23271E is a dark, near-neutral yellow-green. Relative luminance 0.019; OKLCH L 26.6% C 0.017 H 127.1°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#23271E
RGBrgb(35, 39, 30)
HSLhsl(87, 13%, 14%)
HSVhsv(87, 23%, 15%)
CMYKcmyk(10.3%, 0%, 23.1%, 84.7%)
CIE-LABlab(14.96, -3.93, 5.36)
CIE-LCHlch(14.96, 6.64, 126.24°)
OKLaboklab(26.55% -0.0104 0.0138)
OKLCHoklch(26.55% 0.017 127.1)
XYZxyz(1.6530, 1.9021, 1.5081)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23271E #221E27
analogous
#27261E #23271E #1E271E
triadic
#23271E #1E2327 #271E23
tetradic
#23271E #1E2726 #221E27 #271E1E
square
#23271E #1E2726 #221E27 #271E1E
split-complementary
#23271E #1E1E27 #261E27
monochromatic
#10110D #10110D #23271E #424A39 #616C53

Accessibility & contrast

On white

15.21
#23271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23271E
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23271E#FFFFFF#000000##FFFFFF
##23271E1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23271e;
/* rgb */ color: rgb(35, 39, 30);
/* oklch */ color: oklch(26.6% 0.017 127.1);
Tailwind
colors: {
  custom: {
    50: '#5d6159',
    500: '#23271e',
    950: '#000000',
  },
}
SCSS
$custom: #23271e;
$custom-light: #5d6159;
$custom-dark: #000000;
JSON
{
  "hex": "#23271e",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 86.667,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26552,
    "c": 0.01725,
    "h": 127.1
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#23271E
secondary
#504958
accent
#72B690
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #23271E

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

Preview Lab → · Contrast checker → · Palette generator →

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