#5E501E#5E501E

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

Color values

HEX#5E501E
RGBrgb(94, 80, 30)
HSLhsl(47, 52%, 24%)
HSVhsv(47, 68%, 37%)
CMYKcmyk(0%, 14.9%, 68.1%, 63.1%)
CIE-LABlab(34.42, -0.79, 30.80)
CIE-LCHlch(34.42, 30.81, 91.47°)
OKLaboklab(43.44% -0.0044 0.0704)
OKLCHoklch(43.44% 0.071 93.6)
XYZxyz(7.7195, 8.2111, 2.4063)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E501E #1E2C5E
analogous
#5E301E #5E501E #4C5E1E
triadic
#5E501E #1E5E50 #501E5E
tetradic
#5E501E #1E5E30 #1E2C5E #5E1E4C
square
#5E501E #1E5E30 #1E2C5E #5E1E4C
split-complementary
#5E501E #1E4C5E #301E5E
monochromatic
#171407 #30290F #5E501E #8C772D #BB9F3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E501E#FFFFFF#000000##FFFFFF
##5E501E1.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)
#594E18
Deuteranopia (green-blind)
#5C5320
Tritanopia (blue-blind)
#664A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e501e;
/* rgb */ color: rgb(94, 80, 30);
/* oklch */ color: oklch(43.4% 0.071 93.6);
Tailwind
colors: {
  custom: {
    50: '#8e805c',
    500: '#5e501e',
    950: '#000000',
  },
}
SCSS
$custom: #5e501e;
$custom-light: #8e805c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e501e",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 46.875,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.43441,
    "c": 0.07055,
    "h": 93.6
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#5E501E
secondary
#455693
accent
#6CDB4D
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5E501E

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

Preview Lab → · Contrast checker → · Palette generator →

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