#27240C#27240C

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

Color values

HEX#27240C
RGBrgb(39, 36, 12)
HSLhsl(53, 53%, 10%)
HSVhsv(53, 69%, 15%)
CMYKcmyk(0%, 7.7%, 69.2%, 84.7%)
CIE-LABlab(13.94, -2.70, 15.47)
CIE-LCHlch(13.94, 15.71, 99.91°)
OKLaboklab(25.72% -0.0083 0.0382)
OKLCHoklch(25.72% 0.039 102.2)
XYZxyz(1.5340, 1.7197, 0.5989)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27240C #0C0F27
analogous
#27160C #27240C #1D270C
triadic
#27240C #0C2724 #240C27
tetradic
#27240C #0C2716 #0C0F27 #270C1D
square
#27240C #0C2716 #0C0F27 #270C1D
split-complementary
#27240C #0C1D27 #160C27
monochromatic
#171607 #171607 #27240C #564F1A #857A29

Accessibility & contrast

On white

15.62
#27240C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27240C
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27240C#FFFFFF#000000##FFFFFF
##27240C1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230A
Deuteranopia (green-blind)
#29240D
Tritanopia (blue-blind)
#2A211F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #27240c;
/* rgb */ color: rgb(39, 36, 12);
/* oklch */ color: oklch(25.7% 0.039 102.2);
Tailwind
colors: {
  custom: {
    50: '#625e4c',
    500: '#27240c',
    950: '#000000',
  },
}
SCSS
$custom: #27240c;
$custom-light: #625e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#27240c",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 12
  },
  "hsl": {
    "h": 53.333,
    "s": 52.941,
    "l": 10
  },
  "oklch": {
    "l": 0.25719,
    "c": 0.03908,
    "h": 102.2
  },
  "luminance": 0.0172
}

Semantic roles & 50–950 ramp

primary
#27240C
secondary
#2D3362
accent
#5CDC4B
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #27240C

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

Preview Lab → · Contrast checker → · Palette generator →

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