#D5DB52#D5DB52

#D5DB52 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.1% C 0.157 H 111.7°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#D5DB52
RGBrgb(213, 219, 82)
HSLhsl(63, 66%, 59%)
HSVhsv(63, 63%, 86%)
CMYKcmyk(2.7%, 0%, 62.6%, 14.1%)
CIE-LABlab(84.70, -19.18, 64.37)
CIE-LCHlch(84.70, 67.16, 106.59°)
OKLaboklab(86.15% -0.0581 0.1462)
OKLCHoklch(86.15% 0.157 111.7)
XYZxyz(54.2966, 65.4196, 17.7480)
Luminance0.6542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DB52 #5852DB
analogous
#DB9D52 #D5DB52 #91DB52
triadic
#D5DB52 #52D5DB #DB52D5
tetradic
#D5DB52 #52DB9D #5852DB #DB5291
square
#D5DB52 #52DB9D #5852DB #DB5291
split-complementary
#D5DB52 #5291DB #9D52DB
monochromatic
#8F941F #C0C629 #D5DB52 #E1E685 #EEF0B7

Accessibility & contrast

On white

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

On black

14.08
#D5DB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DB52
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DB52#FFFFFF#000000##000000
##D5DB521.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD241
Deuteranopia (green-blind)
#ECD55B
Tritanopia (blue-blind)
#E3CEBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d5db52;
/* rgb */ color: rgb(213, 219, 82);
/* oklch */ color: oklch(86.1% 0.157 111.7);
Tailwind
colors: {
  custom: {
    50: '#e5e689',
    500: '#d5db52',
    950: '#000000',
  },
}
SCSS
$custom: #d5db52;
$custom-light: #e5e689;
$custom-dark: #000000;
JSON
{
  "hex": "#d5db52",
  "rgb": {
    "r": 213,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 62.628,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86149,
    "c": 0.15732,
    "h": 111.7
  },
  "luminance": 0.65418
}

Semantic roles & 50–950 ramp

primary
#D5DB52
secondary
#3D3999
accent
#3FE947
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5DB52

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

Preview Lab → · Contrast checker → · Palette generator →

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