#D5B757#D5B757

#D5B757 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.7% C 0.120 H 92.1°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#D5B757
RGBrgb(213, 183, 87)
HSLhsl(46, 60%, 59%)
HSVhsv(46, 59%, 84%)
CMYKcmyk(0%, 14.1%, 59.2%, 16.5%)
CIE-LABlab(75.27, -0.55, 51.84)
CIE-LCHlch(75.27, 51.85, 90.61°)
OKLaboklab(78.67% -0.0044 0.1202)
OKLCHoklch(78.67% 0.12 92.1)
XYZxyz(46.0964, 48.7036, 15.9877)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B757 #5775D5
analogous
#D57857 #D5B757 #B4D557
triadic
#D5B757 #57D5B7 #B757D5
tetradic
#D5B757 #57D578 #5775D5 #D557B4
square
#D5B757 #57D578 #5775D5 #D557B4
split-complementary
#D5B757 #57B4D5 #7857D5
monochromatic
#8E7524 #BF9D30 #D5B757 #E1CC88 #EDE1B9

Accessibility & contrast

On white

1.96
#D5B757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#D5B757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B757
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B757#FFFFFF#000000##000000
##D5B7571.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44D
Deuteranopia (green-blind)
#D0BD5B
Tritanopia (blue-blind)
#E5AAA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b757;
/* rgb */ color: rgb(213, 183, 87);
/* oklch */ color: oklch(78.7% 0.120 92.1);
Tailwind
colors: {
  custom: {
    50: '#e5cc89',
    500: '#d5b757',
    950: '#000000',
  },
}
SCSS
$custom: #d5b757;
$custom-light: #e5cc89;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b757",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 87
  },
  "hsl": {
    "h": 45.714,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.78667,
    "c": 0.1203,
    "h": 92.1
  },
  "luminance": 0.48701
}

Semantic roles & 50–950 ramp

primary
#D5B757
secondary
#ABB7DD
accent
#6AE345
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D5B757

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

Preview Lab → · Contrast checker → · Palette generator →

#D5B757 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva