#D5B754#D5B754

#D5B754 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.123 H 92.5°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#D5B754
RGBrgb(213, 183, 84)
HSLhsl(46, 61%, 58%)
HSVhsv(46, 61%, 84%)
CMYKcmyk(0%, 14.1%, 60.6%, 16.5%)
CIE-LABlab(75.24, -0.76, 53.20)
CIE-LCHlch(75.24, 53.21, 90.82°)
OKLaboklab(78.63% -0.0054 0.1228)
OKLCHoklch(78.63% 0.123 92.5)
XYZxyz(45.9764, 48.6556, 15.3555)
Luminance0.4865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B754 #5472D5
analogous
#D57754 #D5B754 #B2D554
triadic
#D5B754 #54D5B7 #B754D5
tetradic
#D5B754 #54D577 #5472D5 #D554B2
square
#D5B754 #54D577 #5472D5 #D554B2
split-complementary
#D5B754 #54B2D5 #7754D5
monochromatic
#8C7422 #BD9C2E #D5B754 #E1CC85 #EDE0B6

Accessibility & contrast

On white

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

On black

10.73
#D5B754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B754
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B754#FFFFFF#000000##000000
##D5B7541.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B44A
Deuteranopia (green-blind)
#D0BD58
Tritanopia (blue-blind)
#E5AAA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b754;
/* rgb */ color: rgb(213, 183, 84);
/* oklch */ color: oklch(78.6% 0.123 92.5);
Tailwind
colors: {
  custom: {
    50: '#e5cc88',
    500: '#d5b754',
    950: '#000000',
  },
}
SCSS
$custom: #d5b754;
$custom-light: #e5cc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b754",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 46.047,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78634,
    "c": 0.12287,
    "h": 92.5
  },
  "luminance": 0.48653
}

Semantic roles & 50–950 ramp

primary
#D5B754
secondary
#A9B5DC
accent
#69E444
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D5B754

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

Preview Lab → · Contrast checker → · Palette generator →

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