#D5DF54#D5DF54

#D5DF54 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.0% C 0.160 H 113.2°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#D5DF54
RGBrgb(213, 223, 84)
HSLhsl(64, 68%, 60%)
HSVhsv(64, 62%, 87%)
CMYKcmyk(4.5%, 0%, 62.3%, 12.5%)
CIE-LABlab(85.79, -21.00, 64.71)
CIE-LCHlch(85.79, 68.03, 107.98°)
OKLaboklab(87.02% -0.063 0.1472)
OKLCHoklch(87.02% 0.16 113.2)
XYZxyz(55.4299, 67.5627, 18.5067)
Luminance0.6756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DF54 #5E54DF
analogous
#DFA454 #D5DF54 #8FDF54
triadic
#D5DF54 #54D5DF #DF54D5
tetradic
#D5DF54 #54DFA4 #5E54DF #DF548F
square
#D5DF54 #54DFA4 #5E54DF #DF548F
split-complementary
#D5DF54 #548FDF #A454DF
monochromatic
#929C1D #C3CF27 #D5DF54 #E2E988 #EEF2BB

Accessibility & contrast

On white

1.45
#D5DF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#D5DF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DF54
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DF54#FFFFFF#000000##000000
##D5DF541.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD542
Deuteranopia (green-blind)
#EFD85D
Tritanopia (blue-blind)
#E2D2C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d5df54;
/* rgb */ color: rgb(213, 223, 84);
/* oklch */ color: oklch(87.0% 0.160 113.2);
Tailwind
colors: {
  custom: {
    50: '#e5e88a',
    500: '#d5df54',
    950: '#000000',
  },
}
SCSS
$custom: #d5df54;
$custom-light: #e5e88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5df54",
  "rgb": {
    "r": 213,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 64.317,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87024,
    "c": 0.16012,
    "h": 113.2
  },
  "luminance": 0.67562
}

Semantic roles & 50–950 ramp

primary
#D5DF54
secondary
#3F389F
accent
#15D023
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D5DF54

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

Preview Lab → · Contrast checker → · Palette generator →

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