#D5DF40#D5DF40

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

Color values

HEX#D5DF40
RGBrgb(213, 223, 64)
HSLhsl(64, 71%, 56%)
HSVhsv(64, 71%, 87%)
CMYKcmyk(4.5%, 0%, 71.3%, 12.5%)
CIE-LABlab(85.65, -22.12, 72.07)
CIE-LCHlch(85.65, 75.39, 107.06°)
OKLaboklab(86.87% -0.068 0.1596)
OKLCHoklch(86.87% 0.174 113.1)
XYZxyz(54.7553, 67.2928, 14.9539)
Luminance0.6729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DF40 #4A40DF
analogous
#DF9A40 #D5DF40 #86DF40
triadic
#D5DF40 #40D5DF #DF40D5
tetradic
#D5DF40 #40DF9A #4A40DF #DF4086
square
#D5DF40 #40DF9A #4A40DF #DF4086
split-complementary
#D5DF40 #4086DF #9A40DF
monochromatic
#868D18 #B7C120 #D5DF40 #E1E874 #ECF1A9

Accessibility & contrast

On white

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

On black

14.46
#D5DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DF40
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DF40#FFFFFF#000000##000000
##D5DF401.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D422
Deuteranopia (green-blind)
#F0D84D
Tritanopia (blue-blind)
#E3D2C0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d5df40;
/* rgb */ color: rgb(213, 223, 64);
/* oklch */ color: oklch(86.9% 0.174 113.1);
Tailwind
colors: {
  custom: {
    50: '#e6e87f',
    500: '#d5df40',
    950: '#000000',
  },
}
SCSS
$custom: #d5df40;
$custom-light: #e6e87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5df40",
  "rgb": {
    "r": 213,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 63.774,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86872,
    "c": 0.17352,
    "h": 113.1
  },
  "luminance": 0.67292
}

Semantic roles & 50–950 ramp

primary
#D5DF40
secondary
#373192
accent
#3AEE45
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D5DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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