#23271A#23271A

#23271A is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.4% C 0.024 H 121.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#23271A
RGBrgb(35, 39, 26)
HSLhsl(78, 20%, 13%)
HSVhsv(78, 33%, 15%)
CMYKcmyk(10.3%, 0%, 33.3%, 84.7%)
CIE-LABlab(14.86, -4.74, 8.02)
CIE-LCHlch(14.86, 9.31, 120.59°)
OKLaboklab(26.44% -0.0126 0.0203)
OKLCHoklch(26.44% 0.024 121.9)
XYZxyz(1.6051, 1.8829, 1.2560)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23271A #1E1A27
analogous
#27241A #23271A #1C271A
triadic
#23271A #1A2327 #271A23
tetradic
#23271A #1A2724 #1E1A27 #271A1C
square
#23271A #1A2724 #1E1A27 #271A1C
split-complementary
#23271A #1A1C27 #241A27
monochromatic
#10120C #10120C #23271A #444C32 #65704B

Accessibility & contrast

On white

15.25
#23271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23271A
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23271A#FFFFFF#000000##FFFFFF
##23271A1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292519
Deuteranopia (green-blind)
#28251B
Tritanopia (blue-blind)
#242624
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #23271a;
/* rgb */ color: rgb(35, 39, 26);
/* oklch */ color: oklch(26.4% 0.024 121.9);
Tailwind
colors: {
  custom: {
    50: '#5e6156',
    500: '#23271a',
    950: '#000000',
  },
}
SCSS
$custom: #23271a;
$custom-light: #5e6156;
$custom-dark: #000000;
JSON
{
  "hex": "#23271a",
  "rgb": {
    "r": 35,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 78.462,
    "s": 20,
    "l": 12.745
  },
  "oklch": {
    "l": 0.26435,
    "c": 0.02386,
    "h": 121.9
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#23271A
secondary
#4A4359
accent
#6BBD84
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #23271A

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

Preview Lab → · Contrast checker → · Palette generator →

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