#27240A#27240A

#27240A is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.7% C 0.041 H 102.8°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#27240A
RGBrgb(39, 36, 10)
HSLhsl(54, 59%, 10%)
HSVhsv(54, 74%, 15%)
CMYKcmyk(0%, 7.7%, 74.4%, 84.7%)
CIE-LABlab(13.91, -2.91, 16.30)
CIE-LCHlch(13.91, 16.55, 100.11°)
OKLaboklab(25.69% -0.0092 0.0405)
OKLCHoklch(25.69% 0.041 102.8)
XYZxyz(1.5224, 1.7151, 0.5379)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27240A #0A0D27
analogous
#27160A #27240A #1C270A
triadic
#27240A #0A2724 #240A27
tetradic
#27240A #0A2716 #0A0D27 #270A1C
square
#27240A #0A2716 #0A0D27 #270A1C
split-complementary
#27240A #0A1C27 #160A27
monochromatic
#181606 #181606 #27240A #585116 #887E23

Accessibility & contrast

On white

15.64
#27240A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#27240A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27240A
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27240A#FFFFFF#000000##FFFFFF
##27240A1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282307
Deuteranopia (green-blind)
#29240B
Tritanopia (blue-blind)
#2A211E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #27240a;
/* rgb */ color: rgb(39, 36, 10);
/* oklch */ color: oklch(25.7% 0.041 102.8);
Tailwind
colors: {
  custom: {
    50: '#625e4b',
    500: '#27240a',
    950: '#000000',
  },
}
SCSS
$custom: #27240a;
$custom-light: #625e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#27240a",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 10
  },
  "hsl": {
    "h": 53.793,
    "s": 59.184,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25689,
    "c": 0.04147,
    "h": 102.8
  },
  "luminance": 0.01715
}

Semantic roles & 50–950 ramp

primary
#27240A
secondary
#292F64
accent
#56E245
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #27240A

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

Preview Lab → · Contrast checker → · Palette generator →

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