#D8DA54#D8DA54

#D8DA54 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.2% C 0.154 H 110.0°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#D8DA54
RGBrgb(216, 218, 84)
HSLhsl(61, 64%, 59%)
HSVhsv(61, 61%, 85%)
CMYKcmyk(0.9%, 0%, 61.5%, 14.5%)
CIE-LABlab(84.68, -17.33, 63.60)
CIE-LCHlch(84.68, 65.92, 105.24°)
OKLaboklab(86.2% -0.0528 0.1448)
OKLCHoklch(86.2% 0.154 110)
XYZxyz(54.9922, 65.3833, 18.1092)
Luminance0.6538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DA54 #5654DA
analogous
#DA9954 #D8DA54 #95DA54
triadic
#D8DA54 #54D8DA #DA54D8
tetradic
#D8DA54 #54DA99 #5654DA #DA5495
square
#D8DA54 #54DA99 #5654DA #DA5495
split-complementary
#D8DA54 #5495DA #9954DA
monochromatic
#929420 #C4C62B #D8DA54 #E3E586 #EFF0B9

Accessibility & contrast

On white

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

On black

14.08
#D8DA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DA54
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DA54#FFFFFF#000000##000000
##D8DA541.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8da54;
/* rgb */ color: rgb(216, 218, 84);
/* oklch */ color: oklch(86.2% 0.154 110.0);
Tailwind
colors: {
  custom: {
    50: '#e7e58a',
    500: '#d8da54',
    950: '#000000',
  },
}
SCSS
$custom: #d8da54;
$custom-light: #e7e58a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8da54",
  "rgb": {
    "r": 216,
    "g": 218,
    "b": 84
  },
  "hsl": {
    "h": 60.896,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86196,
    "c": 0.15413,
    "h": 110
  },
  "luminance": 0.65382
}

Semantic roles & 50–950 ramp

primary
#D8DA54
secondary
#3B3A98
accent
#40E743
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DA54

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

Preview Lab → · Contrast checker → · Palette generator →

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