#D4DF52#D4DF52

#D4DF52 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 86.9% C 0.162 H 113.5°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#D4DF52
RGBrgb(212, 223, 82)
HSLhsl(65, 69%, 60%)
HSVhsv(65, 63%, 87%)
CMYKcmyk(4.9%, 0%, 63.2%, 12.5%)
CIE-LABlab(85.70, -21.53, 65.40)
CIE-LCHlch(85.70, 68.85, 108.22°)
OKLaboklab(86.93% -0.0646 0.1484)
OKLCHoklch(86.93% 0.162 113.5)
XYZxyz(55.0635, 67.3827, 18.0865)
Luminance0.6738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DF52 #5D52DF
analogous
#DFA452 #D4DF52 #8DDF52
triadic
#D4DF52 #52D4DF #DF52D4
tetradic
#D4DF52 #52DFA4 #5D52DF #DF528D
square
#D4DF52 #52DFA4 #5D52DF #DF528D
split-complementary
#D4DF52 #528DDF #A452DF
monochromatic
#909A1D #C1CE26 #D4DF52 #E1E986 #EEF2B9

Accessibility & contrast

On white

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

On black

14.48
#D4DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DF52
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DF52#FFFFFF#000000##000000
##D4DF521.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4df52;
/* rgb */ color: rgb(212, 223, 82);
/* oklch */ color: oklch(86.9% 0.162 113.5);
Tailwind
colors: {
  custom: {
    50: '#e4e889',
    500: '#d4df52',
    950: '#000000',
  },
}
SCSS
$custom: #d4df52;
$custom-light: #e4e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d4df52",
  "rgb": {
    "r": 212,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 64.681,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86928,
    "c": 0.16186,
    "h": 113.5
  },
  "luminance": 0.67382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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