#D5DA51#D5DA51

#D5DA51 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 85.9% C 0.157 H 111.3°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#D5DA51
RGBrgb(213, 218, 81)
HSLhsl(62, 65%, 59%)
HSVhsv(62, 63%, 85%)
CMYKcmyk(2.3%, 0%, 62.8%, 14.5%)
CIE-LABlab(84.42, -18.75, 64.48)
CIE-LCHlch(84.42, 67.15, 106.21°)
OKLaboklab(85.93% -0.057 0.1463)
OKLCHoklch(85.93% 0.157 111.3)
XYZxyz(53.9987, 64.8843, 17.4624)
Luminance0.6488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DA51 #5651DA
analogous
#DA9A51 #D5DA51 #90DA51
triadic
#D5DA51 #51D5DA #DA51D5
tetradic
#D5DA51 #51DA9A #5651DA #DA5190
square
#D5DA51 #51DA9A #5651DA #DA5190
split-complementary
#D5DA51 #5190DA #9A51DA
monochromatic
#8D921F #BEC42A #D5DA51 #E1E583 #EDEFB6

Accessibility & contrast

On white

1.50
#D5DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#D5DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DA51
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DA51#FFFFFF#000000##000000
##D5DA511.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13F
Deuteranopia (green-blind)
#EBD45A
Tritanopia (blue-blind)
#E3CDBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d5da51;
/* rgb */ color: rgb(213, 218, 81);
/* oklch */ color: oklch(85.9% 0.157 111.3);
Tailwind
colors: {
  custom: {
    50: '#e5e588',
    500: '#d5da51',
    950: '#000000',
  },
}
SCSS
$custom: #d5da51;
$custom-light: #e5e588;
$custom-dark: #000000;
JSON
{
  "hex": "#d5da51",
  "rgb": {
    "r": 213,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 62.19,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85926,
    "c": 0.15701,
    "h": 111.3
  },
  "luminance": 0.64883
}

Semantic roles & 50–950 ramp

primary
#D5DA51
secondary
#3C3997
accent
#40E846
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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