#5E540F#5E540F

#5E540F is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.3% C 0.085 H 100.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#5E540F
RGBrgb(94, 84, 15)
HSLhsl(52, 72%, 21%)
HSVhsv(52, 84%, 37%)
CMYKcmyk(0%, 10.6%, 84%, 63.1%)
CIE-LABlab(35.51, -4.06, 38.56)
CIE-LCHlch(35.51, 38.77, 96.02°)
OKLaboklab(44.27% -0.0156 0.0838)
OKLCHoklch(44.27% 0.085 100.5)
XYZxyz(7.8730, 8.7552, 1.7271)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E540F #0F195E
analogous
#5E2D0F #5E540F #415E0F
triadic
#5E540F #0F5E54 #540F5E
tetradic
#5E540F #0F5E2D #0F195E #5E0F41
square
#5E540F #0F5E2D #0F195E #5E0F41
split-complementary
#5E540F #0F415E #2D0F5E
monochromatic
#1A1804 #292507 #5E540F #938317 #C8B220

Accessibility & contrast

On white

7.63
#5E540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5E540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E540F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E540F#FFFFFF#000000##FFFFFF
##5E540F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5101
Deuteranopia (green-blind)
#605514
Tritanopia (blue-blind)
#664D47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e540f;
/* rgb */ color: rgb(94, 84, 15);
/* oklch */ color: oklch(44.3% 0.085 100.5);
Tailwind
colors: {
  custom: {
    50: '#8f8354',
    500: '#5e540f',
    950: '#000000',
  },
}
SCSS
$custom: #5e540f;
$custom-light: #8f8354;
$custom-dark: #000000;
JSON
{
  "hex": "#5e540f",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 52.405,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44266,
    "c": 0.08526,
    "h": 100.5
  },
  "luminance": 0.08755
}

Semantic roles & 50–950 ramp

primary
#5E540F
secondary
#313E97
accent
#50EF39
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E540F

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

Preview Lab → · Contrast checker → · Palette generator →

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