#51240C#51240C

#51240C is a dark, moderate orange. Relative luminance 0.030; OKLCH L 31.9% C 0.076 H 45.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#51240C
RGBrgb(81, 36, 12)
HSLhsl(21, 74%, 18%)
HSVhsv(21, 85%, 32%)
CMYKcmyk(0%, 55.6%, 85.2%, 68.2%)
CIE-LABlab(20.20, 19.21, 24.54)
CIE-LCHlch(20.20, 31.17, 51.95°)
OKLaboklab(31.92% 0.0528 0.0545)
OKLCHoklch(31.92% 0.076 45.9)
XYZxyz(4.0910, 3.0381, 0.7187)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51240C #0C3951
analogous
#510C16 #51240C #51460C
triadic
#51240C #0C5124 #240C51
tetradic
#51240C #16510C #0C3951 #460C51
square
#51240C #16510C #0C3951 #460C51
split-complementary
#51240C #0C5146 #0C1651
monochromatic
#1B0C04 #1C0C04 #51240C #863C14 #BC531C

Accessibility & contrast

On white

13.06
#51240C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#51240C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51240C
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51240C#FFFFFF#000000##FFFFFF
##51240C1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B09
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#5A1A1F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #51240c;
/* rgb */ color: rgb(81, 36, 12);
/* oklch */ color: oklch(31.9% 0.076 45.9);
Tailwind
colors: {
  custom: {
    50: '#875f4d',
    500: '#51240c',
    950: '#000000',
  },
}
SCSS
$custom: #51240c;
$custom-light: #875f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#51240c",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 12
  },
  "hsl": {
    "h": 20.87,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.31922,
    "c": 0.07583,
    "h": 45.9
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#51240C
secondary
#2C6B8C
accent
#B0F137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0501
muted
#7D7977

Preview Lab

Preview with #51240C

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

Preview Lab → · Contrast checker → · Palette generator →

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