#5E5D0F#5E5D0F

#5E5D0F is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.5% C 0.094 H 108.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5E5D0F
RGBrgb(94, 93, 15)
HSLhsl(59, 72%, 21%)
HSVhsv(59, 84%, 37%)
CMYKcmyk(0%, 1.1%, 84%, 63.1%)
CIE-LABlab(38.28, -9.33, 41.03)
CIE-LCHlch(38.28, 42.08, 102.81°)
OKLaboklab(46.47% -0.0303 0.0891)
OKLCHoklch(46.47% 0.094 108.8)
XYZxyz(8.6170, 10.2432, 1.9751)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5D0F #0F105E
analogous
#5E360F #5E5D0F #385E0F
triadic
#5E5D0F #0F5E5D #5D0F5E
tetradic
#5E5D0F #0F5E36 #0F105E #5E0F38
square
#5E5D0F #0F5E36 #0F105E #5E0F38
split-complementary
#5E5D0F #0F385E #360F5E
monochromatic
#1A1A04 #292907 #5E5D0F #939117 #C8C520

Accessibility & contrast

On white

6.89
#5E5D0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5E5D0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5D0F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5D0F#FFFFFF#000000##FFFFFF
##5E5D0F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#665B16
Tritanopia (blue-blind)
#65564F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e5d0f;
/* rgb */ color: rgb(94, 93, 15);
/* oklch */ color: oklch(46.5% 0.094 108.8);
Tailwind
colors: {
  custom: {
    50: '#8f8a56',
    500: '#5e5d0f',
    950: '#000000',
  },
}
SCSS
$custom: #5e5d0f;
$custom-light: #8f8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5d0f",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 59.241,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4647,
    "c": 0.09414,
    "h": 108.8
  },
  "luminance": 0.10243
}

Semantic roles & 50–950 ramp

primary
#5E5D0F
secondary
#313397
accent
#3BEF39
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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