#27271E#27271E

#27271E is a dark, near-neutral yellow. Relative luminance 0.020; OKLCH L 27.0% C 0.016 H 107.4°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#27271E
RGBrgb(39, 39, 30)
HSLhsl(60, 13%, 14%)
HSVhsv(60, 23%, 15%)
CMYKcmyk(0%, 0%, 23.1%, 84.7%)
CIE-LABlab(15.36, -1.99, 5.97)
CIE-LCHlch(15.36, 6.29, 108.43°)
OKLaboklab(26.97% -0.0048 0.0153)
OKLCHoklch(26.97% 0.016 107.4)
XYZxyz(1.7965, 1.9761, 1.5148)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27271E #1E1E27
analogous
#27221E #27271E #22271E
triadic
#27271E #1E2727 #271E27
tetradic
#27271E #1E2722 #1E1E27 #271E22
square
#27271E #1E2722 #1E1E27 #271E22
split-complementary
#27271E #1E2227 #221E27
monochromatic
#11110D #11110D #27271E #4A4A39 #6C6C53

Accessibility & contrast

On white

15.05
#27271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#27271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27271E
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27271E#FFFFFF#000000##FFFFFF
##27271E1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261D
Deuteranopia (green-blind)
#29271E
Tritanopia (blue-blind)
#282625
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #27271e;
/* rgb */ color: rgb(39, 39, 30);
/* oklch */ color: oklch(27.0% 0.016 107.4);
Tailwind
colors: {
  custom: {
    50: '#616159',
    500: '#27271e',
    950: '#000000',
  },
}
SCSS
$custom: #27271e;
$custom-light: #616159;
$custom-dark: #000000;
JSON
{
  "hex": "#27271e",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26965,
    "c": 0.01603,
    "h": 107.4
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#27271E
secondary
#494958
accent
#72B672
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050503
muted
#797978

Preview Lab

Preview with #27271E

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

Preview Lab → · Contrast checker → · Palette generator →

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