#5A240F#5A240F

#5A240F is a dark, moderate orange. Relative luminance 0.035; OKLCH L 33.5% C 0.086 H 40.5°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#5A240F
RGBrgb(90, 36, 15)
HSLhsl(17, 71%, 21%)
HSVhsv(17, 83%, 35%)
CMYKcmyk(0%, 60%, 83.3%, 64.7%)
CIE-LABlab(21.84, 23.43, 25.32)
CIE-LCHlch(21.84, 34.50, 47.23°)
OKLaboklab(33.5% 0.0653 0.0558)
OKLCHoklch(33.5% 0.086 40.5)
XYZxyz(4.9341, 3.4706, 0.8619)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A240F #0F455A
analogous
#5A0F1F #5A240F #5A490F
triadic
#5A240F #0F5A24 #240F5A
tetradic
#5A240F #1F5A0F #0F455A #490F5A
square
#5A240F #1F5A0F #0F455A #490F5A
split-complementary
#5A240F #0F5A49 #0F1F5A
monochromatic
#1A0A04 #260F06 #5A240F #8E3918 #C34E20

Accessibility & contrast

On white

12.40
#5A240F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5A240F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A240F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A240F#FFFFFF#000000##FFFFFF
##5A240F1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0C
Deuteranopia (green-blind)
#40390D
Tritanopia (blue-blind)
#641820
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5a240f;
/* rgb */ color: rgb(90, 36, 15);
/* oklch */ color: oklch(33.5% 0.086 40.5);
Tailwind
colors: {
  custom: {
    50: '#8e604e',
    500: '#5a240f',
    950: '#000000',
  },
}
SCSS
$custom: #5a240f;
$custom-light: #8e604e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a240f",
  "rgb": {
    "r": 90,
    "g": 36,
    "b": 15
  },
  "hsl": {
    "h": 16.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.335,
    "c": 0.08583,
    "h": 40.5
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#5A240F
secondary
#317894
accent
#BCEE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0502
muted
#7E7978

Preview Lab

Preview with #5A240F

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

Preview Lab → · Contrast checker → · Palette generator →

#5A240F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva