#27240B#27240B

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

Color values

HEX#27240B
RGBrgb(39, 36, 11)
HSLhsl(54, 56%, 10%)
HSVhsv(54, 72%, 15%)
CMYKcmyk(0%, 7.7%, 71.8%, 84.7%)
CIE-LABlab(13.93, -2.81, 15.90)
CIE-LCHlch(13.93, 16.14, 100.01°)
OKLaboklab(25.7% -0.0087 0.0393)
OKLCHoklch(25.7% 0.04 102.5)
XYZxyz(1.5280, 1.7173, 0.5675)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27240B #0B0E27
analogous
#27160B #27240B #1C270B
triadic
#27240B #0B2724 #240B27
tetradic
#27240B #0B2716 #0B0E27 #270B1C
square
#27240B #0B2716 #0B0E27 #270B1C
split-complementary
#27240B #0B1C27 #160B27
monochromatic
#181607 #181607 #27240B #575018 #867C26

Accessibility & contrast

On white

15.63
#27240B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27240B
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27240B#FFFFFF#000000##FFFFFF
##27240B1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27240b;
/* rgb */ color: rgb(39, 36, 11);
/* oklch */ color: oklch(25.7% 0.040 102.5);
Tailwind
colors: {
  custom: {
    50: '#625e4c',
    500: '#27240b',
    950: '#000000',
  },
}
SCSS
$custom: #27240b;
$custom-light: #625e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#27240b",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 11
  },
  "hsl": {
    "h": 53.571,
    "s": 56,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25703,
    "c": 0.0403,
    "h": 102.5
  },
  "luminance": 0.01717
}

Semantic roles & 50–950 ramp

primary
#27240B
secondary
#2B3163
accent
#59DF49
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #27240B

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

Preview Lab → · Contrast checker → · Palette generator →

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