#D5B752#D5B752

#D5B752 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.6% C 0.125 H 92.8°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#D5B752
RGBrgb(213, 183, 82)
HSLhsl(46, 61%, 58%)
HSVhsv(46, 62%, 84%)
CMYKcmyk(0%, 14.1%, 61.5%, 16.5%)
CIE-LABlab(75.22, -0.90, 54.09)
CIE-LCHlch(75.22, 54.10, 90.95°)
OKLaboklab(78.61% -0.006 0.1244)
OKLCHoklch(78.61% 0.125 92.8)
XYZxyz(45.8991, 48.6247, 14.9489)
Luminance0.4862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B752 #5270D5
analogous
#D57652 #D5B752 #B1D552
triadic
#D5B752 #52D5B7 #B752D5
tetradic
#D5B752 #52D576 #5270D5 #D552B1
square
#D5B752 #52D576 #5270D5 #D552B1
split-complementary
#D5B752 #52B1D5 #7652D5
monochromatic
#8B7322 #BC9C2E #D5B752 #E1CB83 #EDE0B4

Accessibility & contrast

On white

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

On black

10.72
#D5B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B752
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B752#FFFFFF#000000##000000
##D5B7521.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b752;
/* rgb */ color: rgb(213, 183, 82);
/* oklch */ color: oklch(78.6% 0.125 92.8);
Tailwind
colors: {
  custom: {
    50: '#e5cc86',
    500: '#d5b752',
    950: '#000000',
  },
}
SCSS
$custom: #d5b752;
$custom-light: #e5cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b752",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 46.26,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78612,
    "c": 0.12455,
    "h": 92.8
  },
  "luminance": 0.48622
}

Semantic roles & 50–950 ramp

primary
#D5B752
secondary
#A7B3DC
accent
#68E444
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B752

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

Preview Lab → · Contrast checker → · Palette generator →

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