#D5DF4A#D5DF4A

#D5DF4A is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 86.9% C 0.167 H 113.1°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#D5DF4A
RGBrgb(213, 223, 74)
HSLhsl(64, 70%, 58%)
HSVhsv(64, 67%, 87%)
CMYKcmyk(4.5%, 0%, 66.8%, 12.5%)
CIE-LABlab(85.71, -21.60, 68.55)
CIE-LCHlch(85.71, 71.87, 107.49°)
OKLaboklab(86.94% -0.0657 0.1538)
OKLCHoklch(86.94% 0.167 113.1)
XYZxyz(55.0658, 67.4171, 16.5893)
Luminance0.6742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DF4A #544ADF
analogous
#DF9E4A #D5DF4A #8ADF4A
triadic
#D5DF4A #4AD5DF #DF4AD5
tetradic
#D5DF4A #4ADF9E #544ADF #DF4A8A
square
#D5DF4A #4ADF9E #544ADF #DF4A8A
split-complementary
#D5DF4A #4A8ADF #9E4ADF
monochromatic
#8C941A #BDC823 #D5DF4A #E1E87E #EDF1B2

Accessibility & contrast

On white

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

On black

14.48
#D5DF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DF4A
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DF4A#FFFFFF#000000##000000
##D5DF4A1.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD534
Deuteranopia (green-blind)
#EFD855
Tritanopia (blue-blind)
#E3D2C1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d5df4a;
/* rgb */ color: rgb(213, 223, 74);
/* oklch */ color: oklch(86.9% 0.167 113.1);
Tailwind
colors: {
  custom: {
    50: '#e5e885',
    500: '#d5df4a',
    950: '#000000',
  },
}
SCSS
$custom: #d5df4a;
$custom-light: #e5e885;
$custom-dark: #000000;
JSON
{
  "hex": "#d5df4a",
  "rgb": {
    "r": 213,
    "g": 223,
    "b": 74
  },
  "hsl": {
    "h": 64.027,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86942,
    "c": 0.16726,
    "h": 113.1
  },
  "luminance": 0.67416
}

Semantic roles & 50–950 ramp

primary
#D5DF4A
secondary
#3B3499
accent
#3BED47
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16160C
muted
#85847F

Preview Lab

Preview with #D5DF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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