#51240F#51240F

#51240F is a dark, moderate orange. Relative luminance 0.030; OKLCH L 32.0% C 0.075 H 43.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#51240F
RGBrgb(81, 36, 15)
HSLhsl(19, 69%, 19%)
HSVhsv(19, 81%, 32%)
CMYKcmyk(0%, 55.6%, 81.5%, 68.2%)
CIE-LABlab(20.23, 19.36, 23.10)
CIE-LCHlch(20.23, 30.14, 50.04°)
OKLaboklab(31.96% 0.0538 0.0517)
OKLCHoklch(31.96% 0.075 43.9)
XYZxyz(4.1108, 3.0461, 0.8233)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51240F #0F3C51
analogous
#510F1B #51240F #51450F
triadic
#51240F #0F5124 #240F51
tetradic
#51240F #1B510F #0F3C51 #450F51
square
#51240F #1B510F #0F3C51 #450F51
split-complementary
#51240F #0F5145 #0F1B51
monochromatic
#1A0B05 #1D0D05 #51240F #853B19 #B85222

Accessibility & contrast

On white

13.05
#51240F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51240F
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51240F#FFFFFF#000000##FFFFFF
##51240F1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B0D
Deuteranopia (green-blind)
#3B350E
Tritanopia (blue-blind)
#5A1B1F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #51240f;
/* rgb */ color: rgb(81, 36, 15);
/* oklch */ color: oklch(32.0% 0.075 43.9);
Tailwind
colors: {
  custom: {
    50: '#87604e',
    500: '#51240f',
    950: '#000000',
  },
}
SCSS
$custom: #51240f;
$custom-light: #87604e;
$custom-dark: #000000;
JSON
{
  "hex": "#51240f",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 15
  },
  "hsl": {
    "h": 19.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31956,
    "c": 0.07461,
    "h": 43.9
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#51240F
secondary
#316E8B
accent
#B4EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0501
muted
#7D7977

Preview Lab

Preview with #51240F

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

Preview Lab → · Contrast checker → · Palette generator →

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