#27240F#27240F

#27240F is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.8% C 0.035 H 101.3°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#27240F
RGBrgb(39, 36, 15)
HSLhsl(53, 44%, 11%)
HSVhsv(53, 62%, 15%)
CMYKcmyk(0%, 7.7%, 61.5%, 84.7%)
CIE-LABlab(13.99, -2.36, 14.05)
CIE-LCHlch(13.99, 14.25, 99.52°)
OKLaboklab(25.77% -0.0069 0.0345)
OKLCHoklch(25.77% 0.035 101.3)
XYZxyz(1.5538, 1.7276, 0.7035)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27240F #0F1227
analogous
#27180F #27240F #1E270F
triadic
#27240F #0F2724 #240F27
tetradic
#27240F #0F2718 #0F1227 #270F1E
square
#27240F #0F2718 #0F1227 #270F1E
split-complementary
#27240F #0F1E27 #180F27
monochromatic
#161409 #161409 #27240F #534D20 #7F7631

Accessibility & contrast

On white

15.61
#27240F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#27240F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27240F
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27240F#FFFFFF#000000##FFFFFF
##27240F1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27230D
Deuteranopia (green-blind)
#282410
Tritanopia (blue-blind)
#2A211F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #27240f;
/* rgb */ color: rgb(39, 36, 15);
/* oklch */ color: oklch(25.8% 0.035 101.3);
Tailwind
colors: {
  custom: {
    50: '#625e4e',
    500: '#27240f',
    950: '#000000',
  },
}
SCSS
$custom: #27240f;
$custom-light: #625e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#27240f",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 15
  },
  "hsl": {
    "h": 52.5,
    "s": 44.444,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2577,
    "c": 0.03516,
    "h": 101.3
  },
  "luminance": 0.01728
}

Semantic roles & 50–950 ramp

primary
#27240F
secondary
#323860
accent
#64D454
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #27240F

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

Preview Lab → · Contrast checker → · Palette generator →

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