#D8DA51#D8DA51

#D8DA51 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.2% C 0.156 H 110.1°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#D8DA51
RGBrgb(216, 218, 81)
HSLhsl(61, 65%, 59%)
HSVhsv(61, 63%, 85%)
CMYKcmyk(0.9%, 0%, 62.8%, 14.5%)
CIE-LABlab(84.66, -17.52, 64.80)
CIE-LCHlch(84.66, 67.13, 105.13°)
OKLaboklab(86.17% -0.0537 0.1469)
OKLCHoklch(86.17% 0.156 110.1)
XYZxyz(54.8772, 65.3373, 17.5036)
Luminance0.6534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DA51 #5351DA
analogous
#DA9751 #D8DA51 #93DA51
triadic
#D8DA51 #51D8DA #DA51D8
tetradic
#D8DA51 #51DA97 #5351DA #DA5193
square
#D8DA51 #51DA97 #5351DA #DA5193
split-complementary
#D8DA51 #5193DA #9751DA
monochromatic
#90921F #C2C42A #D8DA51 #E3E583 #EFEFB6

Accessibility & contrast

On white

1.49
#D8DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#D8DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DA51
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DA51#FFFFFF#000000##000000
##D8DA511.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8da51;
/* rgb */ color: rgb(216, 218, 81);
/* oklch */ color: oklch(86.2% 0.156 110.1);
Tailwind
colors: {
  custom: {
    50: '#e7e588',
    500: '#d8da51',
    950: '#000000',
  },
}
SCSS
$custom: #d8da51;
$custom-light: #e7e588;
$custom-dark: #000000;
JSON
{
  "hex": "#d8da51",
  "rgb": {
    "r": 216,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 60.876,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86169,
    "c": 0.1564,
    "h": 110.1
  },
  "luminance": 0.65336
}

Semantic roles & 50–950 ramp

primary
#D8DA51
secondary
#3A3997
accent
#40E842
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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