#D8DB52#D8DB52

#D8DB52 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.4% C 0.157 H 110.5°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#D8DB52
RGBrgb(216, 219, 82)
HSLhsl(61, 66%, 59%)
HSVhsv(61, 63%, 86%)
CMYKcmyk(1.4%, 0%, 62.6%, 14.1%)
CIE-LABlab(84.93, -17.95, 64.68)
CIE-LCHlch(84.93, 67.13, 105.51°)
OKLaboklab(86.39% -0.0548 0.1468)
OKLCHoklch(86.39% 0.157 110.5)
XYZxyz(55.1751, 65.8726, 17.7892)
Luminance0.6587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB52 #5552DB
analogous
#DB9A52 #D8DB52 #94DB52
triadic
#D8DB52 #52D8DB #DB52D8
tetradic
#D8DB52 #52DB9A #5552DB #DB5294
square
#D8DB52 #52DB9A #5552DB #DB5294
split-complementary
#D8DB52 #5294DB #9A52DB
monochromatic
#91941F #C3C629 #D8DB52 #E3E685 #EFF0B7

Accessibility & contrast

On white

1.48
#D8DB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#D8DB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB52
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB52#FFFFFF#000000##000000
##D8DB521.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD240
Deuteranopia (green-blind)
#ECD65B
Tritanopia (blue-blind)
#E6CEBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8db52;
/* rgb */ color: rgb(216, 219, 82);
/* oklch */ color: oklch(86.4% 0.157 110.5);
Tailwind
colors: {
  custom: {
    50: '#e7e689',
    500: '#d8db52',
    950: '#000000',
  },
}
SCSS
$custom: #d8db52;
$custom-light: #e7e689;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db52",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 61.314,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86391,
    "c": 0.15669,
    "h": 110.5
  },
  "luminance": 0.65871
}

Semantic roles & 50–950 ramp

primary
#D8DB52
secondary
#3B3999
accent
#3FE943
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DB52

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

Preview Lab → · Contrast checker → · Palette generator →

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