#5E501C#5E501C

#5E501C is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.4% C 0.072 H 94.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5E501C
RGBrgb(94, 80, 28)
HSLhsl(47, 54%, 24%)
HSVhsv(47, 70%, 37%)
CMYKcmyk(0%, 14.9%, 70.2%, 63.1%)
CIE-LABlab(34.40, -0.94, 31.80)
CIE-LCHlch(34.40, 31.81, 91.69°)
OKLaboklab(43.42% -0.0051 0.0722)
OKLCHoklch(43.42% 0.072 94)
XYZxyz(7.6947, 8.2012, 2.2761)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E501C #1C2A5E
analogous
#5E2F1C #5E501C #4B5E1C
triadic
#5E501C #1C5E50 #501C5E
tetradic
#5E501C #1C5E2F #1C2A5E #5E1C4B
square
#5E501C #1C5E2F #1C2A5E #5E1C4B
split-complementary
#5E501C #1C4B5E #2F1C5E
monochromatic
#181407 #2F280E #5E501C #8D782A #BCA038

Accessibility & contrast

On white

7.95
#5E501C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5E501C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E501C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E501C#FFFFFF#000000##FFFFFF
##5E501C1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E16
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#664A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e501c;
/* rgb */ color: rgb(94, 80, 28);
/* oklch */ color: oklch(43.4% 0.072 94.0);
Tailwind
colors: {
  custom: {
    50: '#8e805b',
    500: '#5e501c',
    950: '#000000',
  },
}
SCSS
$custom: #5e501c;
$custom-light: #8e805b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e501c",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 28
  },
  "hsl": {
    "h": 47.273,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.07236,
    "h": 94
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#5E501C
secondary
#425493
accent
#6ADD4A
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5E501C

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

Preview Lab → · Contrast checker → · Palette generator →

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