#D9DB52#D9DB52

#D9DB52 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.5% C 0.157 H 110.1°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#D9DB52
RGBrgb(217, 219, 82)
HSLhsl(61, 66%, 59%)
HSVhsv(61, 63%, 86%)
CMYKcmyk(0.9%, 0%, 62.6%, 14.1%)
CIE-LABlab(85.01, -17.54, 64.79)
CIE-LCHlch(85.01, 67.12, 105.15°)
OKLaboklab(86.47% -0.0537 0.147)
OKLCHoklch(86.47% 0.157 110.1)
XYZxyz(55.4715, 66.0254, 17.8031)
Luminance0.6602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DB52 #5452DB
analogous
#DB9952 #D9DB52 #95DB52
triadic
#D9DB52 #52D9DB #DB52D9
tetradic
#D9DB52 #52DB99 #5452DB #DB5295
square
#D9DB52 #52DB99 #5452DB #DB5295
split-complementary
#D9DB52 #5295DB #9952DB
monochromatic
#92941F #C4C629 #D9DB52 #E4E685 #EFF0B7

Accessibility & contrast

On white

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

On black

14.20
#D9DB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DB52
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DB52#FFFFFF#000000##000000
##D9DB521.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9db52;
/* rgb */ color: rgb(217, 219, 82);
/* oklch */ color: oklch(86.5% 0.157 110.1);
Tailwind
colors: {
  custom: {
    50: '#e8e689',
    500: '#d9db52',
    950: '#000000',
  },
}
SCSS
$custom: #d9db52;
$custom-light: #e8e689;
$custom-dark: #000000;
JSON
{
  "hex": "#d9db52",
  "rgb": {
    "r": 217,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 60.876,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86472,
    "c": 0.1565,
    "h": 110.1
  },
  "luminance": 0.66024
}

Semantic roles & 50–950 ramp

primary
#D9DB52
secondary
#3A3999
accent
#3FE942
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9DB52

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

Preview Lab → · Contrast checker → · Palette generator →

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