#5D510E#5D510E

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

Color values

HEX#5D510E
RGBrgb(93, 81, 14)
HSLhsl(51, 74%, 21%)
HSVhsv(51, 85%, 36%)
CMYKcmyk(0%, 12.9%, 84.9%, 63.5%)
CIE-LABlab(34.49, -2.81, 37.96)
CIE-LCHlch(34.49, 38.06, 94.23°)
OKLaboklab(43.43% -0.0121 0.0824)
OKLCHoklch(43.43% 0.083 98.3)
XYZxyz(7.5363, 8.2441, 1.6097)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D510E #0E1A5D
analogous
#5D290E #5D510E #415D0E
triadic
#5D510E #0E5D51 #510E5D
tetradic
#5D510E #0E5D29 #0E1A5D #5D0E41
square
#5D510E #0E5D29 #0E1A5D #5D0E41
split-complementary
#5D510E #0E415D #290E5D
monochromatic
#1B1704 #282306 #5D510E #927F16 #C7AE1E

Accessibility & contrast

On white

7.93
#5D510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5D510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D510E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D510E#FFFFFF#000000##FFFFFF
##5D510E1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F01
Deuteranopia (green-blind)
#5D5313
Tritanopia (blue-blind)
#654A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d510e;
/* rgb */ color: rgb(93, 81, 14);
/* oklch */ color: oklch(43.4% 0.083 98.3);
Tailwind
colors: {
  custom: {
    50: '#8e8153',
    500: '#5d510e',
    950: '#000000',
  },
}
SCSS
$custom: #5d510e;
$custom-light: #8e8153;
$custom-dark: #000000;
JSON
{
  "hex": "#5d510e",
  "rgb": {
    "r": 93,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 50.886,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43429,
    "c": 0.08324,
    "h": 98.3
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#5D510E
secondary
#304097
accent
#53F037
background
#F9F7F4
surface
#F1EEE8
border
#CBC9C4
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5D510E

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

Preview Lab → · Contrast checker → · Palette generator →

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