#29271F#29271F

#29271F is a dark, near-neutral yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.015 H 95.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#29271F
RGBrgb(41, 39, 31)
HSLhsl(48, 14%, 14%)
HSVhsv(48, 24%, 16%)
CMYKcmyk(0%, 4.9%, 24.4%, 83.9%)
CIE-LABlab(15.60, -0.81, 5.63)
CIE-LCHlch(15.60, 5.69, 98.17°)
OKLaboklab(27.21% -0.0014 0.0145)
OKLCHoklch(27.21% 0.015 95.6)
XYZxyz(1.8873, 2.0214, 1.5868)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29271F #1F2129
analogous
#29221F #29271F #26291F
triadic
#29271F #1F2927 #271F29
tetradic
#29271F #1F2922 #1F2129 #291F26
square
#29271F #1F2922 #1F2129 #291F26
split-complementary
#29271F #1F2629 #221F29
monochromatic
#11110D #11110D #29271F #4C4839 #6F6954

Accessibility & contrast

On white

14.96
#29271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#29271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29271F
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29271F#FFFFFF#000000##FFFFFF
##29271F1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#29271F
Tritanopia (blue-blind)
#2B2625
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #29271f;
/* rgb */ color: rgb(41, 39, 31);
/* oklch */ color: oklch(27.2% 0.015 95.6);
Tailwind
colors: {
  custom: {
    50: '#62615a',
    500: '#29271f',
    950: '#000000',
  },
}
SCSS
$custom: #29271f;
$custom-light: #62615a;
$custom-dark: #000000;
JSON
{
  "hex": "#29271f",
  "rgb": {
    "r": 41,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 48,
    "s": 13.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.27213,
    "c": 0.01453,
    "h": 95.6
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#29271F
secondary
#4A4D5A
accent
#7FB771
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050503
muted
#797978

Preview Lab

Preview with #29271F

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

Preview Lab → · Contrast checker → · Palette generator →

#29271F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva