#D5D84F#D5D84F

#D5D84F is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.156 H 110.5°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D5D84F
RGBrgb(213, 216, 79)
HSLhsl(61, 64%, 58%)
HSVhsv(61, 63%, 85%)
CMYKcmyk(1.4%, 0%, 63.4%, 15.3%)
CIE-LABlab(83.87, -17.89, 64.71)
CIE-LCHlch(83.87, 67.14, 105.45°)
OKLaboklab(85.48% -0.0548 0.1465)
OKLCHoklch(85.48% 0.156 110.5)
XYZxyz(53.4093, 63.8238, 16.9014)
Luminance0.6382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D84F #524FD8
analogous
#D8964F #D5D84F #90D84F
triadic
#D5D84F #4FD5D8 #D84FD5
tetradic
#D5D84F #4FD896 #524FD8 #D84F90
square
#D5D84F #4FD896 #524FD8 #D84F90
split-complementary
#D5D84F #4F90D8 #964FD8
monochromatic
#8B8D1F #BCBF2A #D5D84F #E1E381 #EDEEB3

Accessibility & contrast

On white

1.53
#D5D84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D5D84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D84F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D84F#FFFFFF#000000##000000
##D5D84F1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3D
Deuteranopia (green-blind)
#E9D358
Tritanopia (blue-blind)
#E3CBBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d84f;
/* rgb */ color: rgb(213, 216, 79);
/* oklch */ color: oklch(85.5% 0.156 110.5);
Tailwind
colors: {
  custom: {
    50: '#e5e387',
    500: '#d5d84f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d84f;
$custom-light: #e5e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d84f",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 61.314,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85482,
    "c": 0.15639,
    "h": 110.5
  },
  "luminance": 0.63822
}

Semantic roles & 50–950 ramp

primary
#D5D84F
secondary
#3A3893
accent
#41E745
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D84F

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

Preview Lab → · Contrast checker → · Palette generator →

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