#D8DF54#D8DF54

#D8DF54 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.3% C 0.159 H 112.0°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#D8DF54
RGBrgb(216, 223, 84)
HSLhsl(63, 68%, 60%)
HSVhsv(63, 62%, 87%)
CMYKcmyk(3.1%, 0%, 62.3%, 12.5%)
CIE-LABlab(86.01, -19.78, 65.02)
CIE-LCHlch(86.01, 67.96, 106.92°)
OKLaboklab(87.26% -0.0597 0.1478)
OKLCHoklch(87.26% 0.159 112)
XYZxyz(56.3084, 68.0156, 18.5479)
Luminance0.6801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF54 #5B54DF
analogous
#DFA154 #D8DF54 #92DF54
triadic
#D8DF54 #54D8DF #DF54D8
tetradic
#D8DF54 #54DFA1 #5B54DF #DF5492
square
#D8DF54 #54DFA1 #5B54DF #DF5492
split-complementary
#D8DF54 #5492DF #A154DF
monochromatic
#959C1D #C7CF27 #D8DF54 #E4E988 #F0F2BB

Accessibility & contrast

On white

1.44
#D8DF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#D8DF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF54
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF54#FFFFFF#000000##000000
##D8DF541.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD542
Deuteranopia (green-blind)
#EFD95D
Tritanopia (blue-blind)
#E6D2C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d8df54;
/* rgb */ color: rgb(216, 223, 84);
/* oklch */ color: oklch(87.3% 0.159 112.0);
Tailwind
colors: {
  custom: {
    50: '#e7e88a',
    500: '#d8df54',
    950: '#000000',
  },
}
SCSS
$custom: #d8df54;
$custom-light: #e7e88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df54",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 63.022,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87261,
    "c": 0.15941,
    "h": 112
  },
  "luminance": 0.68014
}

Semantic roles & 50–950 ramp

primary
#D8DF54
secondary
#3D389F
accent
#15D01F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D8DF54

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

Preview Lab → · Contrast checker → · Palette generator →

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