#5C420F#5C420F

#5C420F is a dark, moderate orange. Relative luminance 0.062; OKLCH L 39.8% C 0.074 H 79.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#5C420F
RGBrgb(92, 66, 15)
HSLhsl(40, 72%, 21%)
HSVhsv(40, 84%, 36%)
CMYKcmyk(0%, 28.3%, 83.7%, 63.9%)
CIE-LABlab(29.93, 5.96, 33.36)
CIE-LCHlch(29.93, 33.88, 79.87°)
OKLaboklab(39.81% 0.0132 0.0728)
OKLCHoklch(39.81% 0.074 79.7)
XYZxyz(6.4485, 6.2067, 1.3102)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C420F #0F295C
analogous
#5C1B0F #5C420F #4F5C0F
triadic
#5C420F #0F5C42 #420F5C
tetradic
#5C420F #0F5C1B #0F295C #5C0F4F
square
#5C420F #0F5C1B #0F295C #5C0F4F
split-complementary
#5C420F #0F4F5C #1B0F5C
monochromatic
#1A1304 #271C06 #5C420F #916818 #C58D20

Accessibility & contrast

On white

9.37
#5C420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5C420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C420F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C420F#FFFFFF#000000##FFFFFF
##5C420F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4307
Deuteranopia (green-blind)
#524911
Tritanopia (blue-blind)
#653B38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c420f;
/* rgb */ color: rgb(92, 66, 15);
/* oklch */ color: oklch(39.8% 0.074 79.7);
Tailwind
colors: {
  custom: {
    50: '#8e7652',
    500: '#5c420f',
    950: '#000000',
  },
}
SCSS
$custom: #5c420f;
$custom-light: #8e7652;
$custom-dark: #000000;
JSON
{
  "hex": "#5c420f",
  "rgb": {
    "r": 92,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 39.74,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39812,
    "c": 0.07395,
    "h": 79.7
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#5C420F
secondary
#315395
accent
#76EF39
background
#F9F7F4
surface
#F1EDE7
border
#CBC8C3
text
#0D0802
muted
#7E7B78

Preview Lab

Preview with #5C420F

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

Preview Lab → · Contrast checker → · Palette generator →

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