#D5DF52#D5DF52

#D5DF52 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.0% C 0.162 H 113.2°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#D5DF52
RGBrgb(213, 223, 82)
HSLhsl(64, 69%, 60%)
HSVhsv(64, 63%, 87%)
CMYKcmyk(4.5%, 0%, 63.2%, 12.5%)
CIE-LABlab(85.77, -21.13, 65.50)
CIE-LCHlch(85.77, 68.82, 107.88°)
OKLaboklab(87.01% -0.0635 0.1486)
OKLCHoklch(87.01% 0.162 113.2)
XYZxyz(55.3527, 67.5318, 18.1001)
Luminance0.6753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DF52 #5C52DF
analogous
#DFA252 #D5DF52 #8FDF52
triadic
#D5DF52 #52D5DF #DF52D5
tetradic
#D5DF52 #52DFA2 #5C52DF #DF528F
square
#D5DF52 #52DFA2 #5C52DF #DF528F
split-complementary
#D5DF52 #528FDF #A252DF
monochromatic
#919A1D #C2CE26 #D5DF52 #E2E986 #EEF2B9

Accessibility & contrast

On white

1.45
#D5DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#D5DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DF52
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DF52#FFFFFF#000000##000000
##D5DF521.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD540
Deuteranopia (green-blind)
#EFD85B
Tritanopia (blue-blind)
#E2D2C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d5df52;
/* rgb */ color: rgb(213, 223, 82);
/* oklch */ color: oklch(87.0% 0.162 113.2);
Tailwind
colors: {
  custom: {
    50: '#e5e889',
    500: '#d5df52',
    950: '#000000',
  },
}
SCSS
$custom: #d5df52;
$custom-light: #e5e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d5df52",
  "rgb": {
    "r": 213,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 64.255,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87006,
    "c": 0.16161,
    "h": 113.2
  },
  "luminance": 0.67531
}

Semantic roles & 50–950 ramp

primary
#D5DF52
secondary
#3F379E
accent
#3CEC49
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D5DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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