#D7B752#D7B752

#D7B752 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.8% C 0.125 H 91.7°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#D7B752
RGBrgb(215, 183, 82)
HSLhsl(46, 62%, 58%)
HSVhsv(46, 62%, 84%)
CMYKcmyk(0%, 14.9%, 61.9%, 15.7%)
CIE-LABlab(75.41, -0.05, 54.36)
CIE-LCHlch(75.41, 54.36, 90.06°)
OKLaboklab(78.81% -0.0037 0.1249)
OKLCHoklch(78.81% 0.125 91.7)
XYZxyz(46.4830, 48.9257, 14.9762)
Luminance0.4892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B752 #5272D7
analogous
#D77452 #D7B752 #B4D752
triadic
#D7B752 #52D7B7 #B752D7
tetradic
#D7B752 #52D774 #5272D7 #D752B4
square
#D7B752 #52D774 #5272D7 #D752B4
split-complementary
#D7B752 #52B4D7 #7452D7
monochromatic
#8E7421 #C09C2C #D7B752 #E2CC84 #EEE0B5

Accessibility & contrast

On white

1.95
#D7B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#D7B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B752
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B752#FFFFFF#000000##000000
##D7B7521.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#D1BE56
Tritanopia (blue-blind)
#E7AAA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b752;
/* rgb */ color: rgb(215, 183, 82);
/* oklch */ color: oklch(78.8% 0.125 91.7);
Tailwind
colors: {
  custom: {
    50: '#e7cc86',
    500: '#d7b752',
    950: '#000000',
  },
}
SCSS
$custom: #d7b752;
$custom-light: #e7cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b752",
  "rgb": {
    "r": 215,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 45.564,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78805,
    "c": 0.12496,
    "h": 91.7
  },
  "luminance": 0.48923
}

Semantic roles & 50–950 ramp

primary
#D7B752
secondary
#A8B5DD
accent
#6AE642
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B752

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

Preview Lab → · Contrast checker → · Palette generator →

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