#D4DA51#D4DA51

#D4DA51 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 85.8% C 0.157 H 111.7°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#D4DA51
RGBrgb(212, 218, 81)
HSLhsl(63, 65%, 59%)
HSVhsv(63, 63%, 85%)
CMYKcmyk(2.8%, 0%, 62.8%, 14.5%)
CIE-LABlab(84.35, -19.16, 64.38)
CIE-LCHlch(84.35, 67.17, 106.57°)
OKLaboklab(85.85% -0.0581 0.1461)
OKLCHoklch(85.85% 0.157 111.7)
XYZxyz(53.7095, 64.7352, 17.4488)
Luminance0.6473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DA51 #5751DA
analogous
#DA9B51 #D4DA51 #8FDA51
triadic
#D4DA51 #51D4DA #DA51D4
tetradic
#D4DA51 #51DA9B #5751DA #DA518F
square
#D4DA51 #51DA9B #5751DA #DA518F
split-complementary
#D4DA51 #518FDA #9B51DA
monochromatic
#8D921F #BDC42A #D4DA51 #E0E583 #EDEFB6

Accessibility & contrast

On white

1.51
#D4DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#D4DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DA51
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DA51#FFFFFF#000000##000000
##D4DA511.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13F
Deuteranopia (green-blind)
#EAD45A
Tritanopia (blue-blind)
#E2CDBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d4da51;
/* rgb */ color: rgb(212, 218, 81);
/* oklch */ color: oklch(85.8% 0.157 111.7);
Tailwind
colors: {
  custom: {
    50: '#e4e588',
    500: '#d4da51',
    950: '#000000',
  },
}
SCSS
$custom: #d4da51;
$custom-light: #e4e588;
$custom-dark: #000000;
JSON
{
  "hex": "#d4da51",
  "rgb": {
    "r": 212,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 62.628,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85846,
    "c": 0.15723,
    "h": 111.7
  },
  "luminance": 0.64734
}

Semantic roles & 50–950 ramp

primary
#D4DA51
secondary
#3D3997
accent
#40E847
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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