#5D5D0F#5D5D0F

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

Color values

HEX#5D5D0F
RGBrgb(93, 93, 15)
HSLhsl(60, 72%, 21%)
HSVhsv(60, 84%, 36%)
CMYKcmyk(0%, 0%, 83.9%, 63.5%)
CIE-LABlab(38.18, -9.82, 40.91)
CIE-LCHlch(38.18, 42.07, 103.49°)
OKLaboklab(46.37% -0.0316 0.0889)
OKLCHoklch(46.37% 0.094 109.6)
XYZxyz(8.5151, 10.1906, 1.9703)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5D0F #0F0F5D
analogous
#5D360F #5D5D0F #365D0F
triadic
#5D5D0F #0F5D5D #5D0F5D
tetradic
#5D5D0F #0F5D36 #0F0F5D #5D0F36
square
#5D5D0F #0F5D36 #0F0F5D #5D0F36
split-complementary
#5D5D0F #0F365D #360F5D
monochromatic
#1A1A04 #282806 #5D5D0F #929217 #C6C620

Accessibility & contrast

On white

6.91
#5D5D0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5D5D0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5D0F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5D0F#FFFFFF#000000##FFFFFF
##5D5D0F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d5d0f;
/* rgb */ color: rgb(93, 93, 15);
/* oklch */ color: oklch(46.4% 0.094 109.6);
Tailwind
colors: {
  custom: {
    50: '#8e8a56',
    500: '#5d5d0f',
    950: '#000000',
  },
}
SCSS
$custom: #5d5d0f;
$custom-light: #8e8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5d0f",
  "rgb": {
    "r": 93,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 60,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.46373,
    "c": 0.09437,
    "h": 109.6
  },
  "luminance": 0.1019
}

Semantic roles & 50–950 ramp

primary
#5D5D0F
secondary
#313196
accent
#39EF39
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5D5D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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