#D8C753#D8C753

#D8C753 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.2% C 0.137 H 101.0°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D8C753
RGBrgb(216, 199, 83)
HSLhsl(52, 63%, 59%)
HSVhsv(52, 62%, 85%)
CMYKcmyk(0%, 7.9%, 61.6%, 15.3%)
CIE-LABlab(79.66, -7.86, 58.61)
CIE-LCHlch(79.66, 59.13, 97.64°)
OKLaboklab(82.19% -0.026 0.1341)
OKLCHoklch(82.19% 0.137 101)
XYZxyz(50.3056, 56.0724, 16.3552)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C753 #5364D8
analogous
#D88453 #D8C753 #A6D853
triadic
#D8C753 #53D8C7 #C753D8
tetradic
#D8C753 #53D884 #5364D8 #D853A6
square
#D8C753 #53D884 #5364D8 #D853A6
split-complementary
#D8C753 #53A6D8 #8453D8
monochromatic
#908221 #C2AF2C #D8C753 #E3D785 #EFE7B7

Accessibility & contrast

On white

1.72
#D8C753 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#D8C753 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C753
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C753#FFFFFF#000000##000000
##D8C7531.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C146
Deuteranopia (green-blind)
#DDC859
Tritanopia (blue-blind)
#E7BAAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d8c753;
/* rgb */ color: rgb(216, 199, 83);
/* oklch */ color: oklch(82.2% 0.137 101.0);
Tailwind
colors: {
  custom: {
    50: '#e7d788',
    500: '#d8c753',
    950: '#000000',
  },
}
SCSS
$custom: #d8c753;
$custom-light: #e7d788;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c753",
  "rgb": {
    "r": 216,
    "g": 199,
    "b": 83
  },
  "hsl": {
    "h": 52.331,
    "s": 63.033,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82192,
    "c": 0.13658,
    "h": 101
  },
  "luminance": 0.5607
}

Semantic roles & 50–950 ramp

primary
#D8C753
secondary
#3A4695
accent
#57E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8C753

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

Preview Lab → · Contrast checker → · Palette generator →

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