#5E501F#5E501F

#5E501F is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.5% C 0.070 H 93.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5E501F
RGBrgb(94, 80, 31)
HSLhsl(47, 50%, 25%)
HSVhsv(47, 67%, 37%)
CMYKcmyk(0%, 14.9%, 67%, 63.1%)
CIE-LABlab(34.43, -0.72, 30.29)
CIE-LCHlch(34.43, 30.30, 91.35°)
OKLaboklab(43.45% -0.004 0.0695)
OKLCHoklch(43.45% 0.07 93.3)
XYZxyz(7.7324, 8.2163, 2.4747)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E501F #1F2D5E
analogous
#5E311F #5E501F #4D5E1F
triadic
#5E501F #1F5E50 #501F5E
tetradic
#5E501F #1F5E31 #1F2D5E #5E1F4D
square
#5E501F #1F5E31 #1F2D5E #5E1F4D
split-complementary
#5E501F #1F4D5E #311F5E
monochromatic
#171408 #302910 #5E501F #8C772E #BA9E3D

Accessibility & contrast

On white

7.94
#5E501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E501F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E501F#FFFFFF#000000##FFFFFF
##5E501F1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F1A
Deuteranopia (green-blind)
#5C5321
Tritanopia (blue-blind)
#664A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e501f;
/* rgb */ color: rgb(94, 80, 31);
/* oklch */ color: oklch(43.5% 0.070 93.3);
Tailwind
colors: {
  custom: {
    50: '#8e805d',
    500: '#5e501f',
    950: '#000000',
  },
}
SCSS
$custom: #5e501f;
$custom-light: #8e805d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e501f",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 46.667,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.43453,
    "c": 0.06961,
    "h": 93.3
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#5E501F
secondary
#465793
accent
#6DDA4E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5E501F

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

Preview Lab → · Contrast checker → · Palette generator →

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