#D5DF51#D5DF51

#D5DF51 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.50:1 contrast (WCAG AA passes).

Color values

HEX#D5DF51
RGBrgb(213, 223, 81)
HSLhsl(64, 69%, 60%)
HSVhsv(64, 64%, 87%)
CMYKcmyk(4.5%, 0%, 63.7%, 12.5%)
CIE-LABlab(85.76, -21.19, 65.89)
CIE-LCHlch(85.76, 69.21, 107.83°)
OKLaboklab(87% -0.0638 0.1493)
OKLCHoklch(87% 0.162 113.2)
XYZxyz(55.3149, 67.5167, 17.9011)
Luminance0.6752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DF51 #5B51DF
analogous
#DFA251 #D5DF51 #8EDF51
triadic
#D5DF51 #51D5DF #DF51D5
tetradic
#D5DF51 #51DFA2 #5B51DF #DF518E
square
#D5DF51 #51DFA2 #5B51DF #DF518E
split-complementary
#D5DF51 #518EDF #A251DF
monochromatic
#91991C #C1CD26 #D5DF51 #E1E985 #EEF2B8

Accessibility & contrast

On white

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

On black

14.50
#D5DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DF51
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DF51#FFFFFF#000000##000000
##D5DF511.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5df51;
/* rgb */ color: rgb(213, 223, 81);
/* oklch */ color: oklch(87.0% 0.162 113.2);
Tailwind
colors: {
  custom: {
    50: '#e5e889',
    500: '#d5df51',
    950: '#000000',
  },
}
SCSS
$custom: #d5df51;
$custom-light: #e5e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d5df51",
  "rgb": {
    "r": 213,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 64.225,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86998,
    "c": 0.16235,
    "h": 113.2
  },
  "luminance": 0.67516
}

Semantic roles & 50–950 ramp

primary
#D5DF51
secondary
#3E379D
accent
#3CEC48
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D5DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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