#5D5A0F#5D5A0F

#5D5A0F is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.6% C 0.091 H 107.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5D5A0F
RGBrgb(93, 90, 15)
HSLhsl(58, 72%, 21%)
HSVhsv(58, 84%, 36%)
CMYKcmyk(0%, 3.2%, 83.9%, 63.5%)
CIE-LABlab(37.25, -8.09, 40.08)
CIE-LCHlch(37.25, 40.89, 101.41°)
OKLaboklab(45.63% -0.0268 0.0871)
OKLCHoklch(45.63% 0.091 107.1)
XYZxyz(8.2569, 9.6743, 1.8842)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5A0F #0F125D
analogous
#5D330F #5D5A0F #395D0F
triadic
#5D5A0F #0F5D5A #5A0F5D
tetradic
#5D5A0F #0F5D33 #0F125D #5D0F39
square
#5D5A0F #0F5D33 #0F125D #5D0F39
split-complementary
#5D5A0F #0F395D #330F5D
monochromatic
#1A1904 #282706 #5D5A0F #928D17 #C6C020

Accessibility & contrast

On white

7.16
#5D5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5D5A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5A0F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5A0F#FFFFFF#000000##FFFFFF
##5D5A0F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#645915
Tritanopia (blue-blind)
#64534C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d5a0f;
/* rgb */ color: rgb(93, 90, 15);
/* oklch */ color: oklch(45.6% 0.091 107.1);
Tailwind
colors: {
  custom: {
    50: '#8e8855',
    500: '#5d5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5d5a0f;
$custom-light: #8e8855;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5a0f",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 57.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45629,
    "c": 0.09117,
    "h": 107.1
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#5D5A0F
secondary
#313596
accent
#40EF39
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5D5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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