#D4DB52#D4DB52

#D4DB52 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.1% C 0.158 H 112.1°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#D4DB52
RGBrgb(212, 219, 82)
HSLhsl(63, 66%, 59%)
HSVhsv(63, 63%, 86%)
CMYKcmyk(3.2%, 0%, 62.6%, 14.1%)
CIE-LABlab(84.62, -19.58, 64.26)
CIE-LCHlch(84.62, 67.18, 106.95°)
OKLaboklab(86.07% -0.0592 0.146)
OKLCHoklch(86.07% 0.158 112.1)
XYZxyz(54.0074, 65.2705, 17.7345)
Luminance0.6527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DB52 #5952DB
analogous
#DB9E52 #D4DB52 #90DB52
triadic
#D4DB52 #52D4DB #DB52D4
tetradic
#D4DB52 #52DB9E #5952DB #DB5290
square
#D4DB52 #52DB9E #5952DB #DB5290
split-complementary
#D4DB52 #5290DB #9E52DB
monochromatic
#8E941F #BEC629 #D4DB52 #E1E685 #EDF0B7

Accessibility & contrast

On white

1.49
#D4DB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#D4DB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DB52
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DB52#FFFFFF#000000##000000
##D4DB521.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD141
Deuteranopia (green-blind)
#EBD55B
Tritanopia (blue-blind)
#E2CEBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d4db52;
/* rgb */ color: rgb(212, 219, 82);
/* oklch */ color: oklch(86.1% 0.158 112.1);
Tailwind
colors: {
  custom: {
    50: '#e4e689',
    500: '#d4db52',
    950: '#000000',
  },
}
SCSS
$custom: #d4db52;
$custom-light: #e4e689;
$custom-dark: #000000;
JSON
{
  "hex": "#d4db52",
  "rgb": {
    "r": 212,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 63.066,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86069,
    "c": 0.15754,
    "h": 112.1
  },
  "luminance": 0.65269
}

Semantic roles & 50–950 ramp

primary
#D4DB52
secondary
#3E3999
accent
#3FE948
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4DB52

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

Preview Lab → · Contrast checker → · Palette generator →

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