#D8C853#D8C853

#D8C853 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.137 H 101.5°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#D8C853
RGBrgb(216, 200, 83)
HSLhsl(53, 63%, 59%)
HSVhsv(53, 62%, 85%)
CMYKcmyk(0%, 7.4%, 61.6%, 15.3%)
CIE-LABlab(79.92, -8.37, 58.89)
CIE-LCHlch(79.92, 59.48, 98.09°)
OKLaboklab(82.4% -0.0275 0.1347)
OKLCHoklch(82.4% 0.137 101.5)
XYZxyz(50.5365, 56.5340, 16.4321)
Luminance0.5653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C853 #5363D8
analogous
#D88553 #D8C853 #A5D853
triadic
#D8C853 #53D8C8 #C853D8
tetradic
#D8C853 #53D885 #5363D8 #D853A5
square
#D8C853 #53D885 #5363D8 #D853A5
split-complementary
#D8C853 #53A5D8 #8553D8
monochromatic
#908321 #C2B02C #D8C853 #E3D885 #EFE8B7

Accessibility & contrast

On white

1.71
#D8C853 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#D8C853 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C853
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C853#FFFFFF#000000##000000
##D8C8531.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C246
Deuteranopia (green-blind)
#DEC959
Tritanopia (blue-blind)
#E7BBAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d8c853;
/* rgb */ color: rgb(216, 200, 83);
/* oklch */ color: oklch(82.4% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#e7d888',
    500: '#d8c853',
    950: '#000000',
  },
}
SCSS
$custom: #d8c853;
$custom-light: #e7d888;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c853",
  "rgb": {
    "r": 216,
    "g": 200,
    "b": 83
  },
  "hsl": {
    "h": 52.782,
    "s": 63.033,
    "l": 58.627
  },
  "oklch": {
    "l": 0.824,
    "c": 0.13746,
    "h": 101.5
  },
  "luminance": 0.56532
}

Semantic roles & 50–950 ramp

primary
#D8C853
secondary
#3A4595
accent
#55E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8C853

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

Preview Lab → · Contrast checker → · Palette generator →

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