#D6DF52#D6DF52

#D6DF52 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.1% C 0.161 H 112.8°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#D6DF52
RGBrgb(214, 223, 82)
HSLhsl(64, 69%, 60%)
HSVhsv(64, 63%, 87%)
CMYKcmyk(4%, 0%, 63.2%, 12.5%)
CIE-LABlab(85.85, -20.72, 65.60)
CIE-LCHlch(85.85, 68.80, 107.53°)
OKLaboklab(87.09% -0.0625 0.1488)
OKLCHoklch(87.09% 0.161 112.8)
XYZxyz(55.6437, 67.6819, 18.1137)
Luminance0.6768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6DF52 #5B52DF
analogous
#DFA252 #D6DF52 #8FDF52
triadic
#D6DF52 #52D6DF #DF52D6
tetradic
#D6DF52 #52DFA2 #5B52DF #DF528F
square
#D6DF52 #52DFA2 #5B52DF #DF528F
split-complementary
#D6DF52 #528FDF #A252DF
monochromatic
#929A1D #C3CE26 #D6DF52 #E2E986 #EEF2B9

Accessibility & contrast

On white

1.44
#D6DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#D6DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6DF52
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6DF52#FFFFFF#000000##000000
##D6DF521.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6df52;
/* rgb */ color: rgb(214, 223, 82);
/* oklch */ color: oklch(87.1% 0.161 112.8);
Tailwind
colors: {
  custom: {
    50: '#e6e889',
    500: '#d6df52',
    950: '#000000',
  },
}
SCSS
$custom: #d6df52;
$custom-light: #e6e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d6df52",
  "rgb": {
    "r": 214,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 63.83,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87085,
    "c": 0.16137,
    "h": 112.8
  },
  "luminance": 0.67681
}

Semantic roles & 50–950 ramp

primary
#D6DF52
secondary
#3E379E
accent
#3CEC47
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D6DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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