#D5D84C#D5D84C

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

Color values

HEX#D5D84C
RGBrgb(213, 216, 76)
HSLhsl(61, 64%, 57%)
HSVhsv(61, 65%, 85%)
CMYKcmyk(1.4%, 0%, 64.8%, 15.3%)
CIE-LABlab(83.85, -18.07, 65.88)
CIE-LCHlch(83.85, 68.31, 105.34°)
OKLaboklab(85.46% -0.0556 0.1485)
OKLCHoklch(85.46% 0.159 110.5)
XYZxyz(53.3026, 63.7811, 16.3392)
Luminance0.6378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D84C #4F4CD8
analogous
#D8954C #D5D84C #8FD84C
triadic
#D5D84C #4CD5D8 #D84CD5
tetradic
#D5D84C #4CD895 #4F4CD8 #D84C8F
square
#D5D84C #4CD895 #4F4CD8 #D84C8F
split-complementary
#D5D84C #4C8FD8 #954CD8
monochromatic
#898B1E #BABE29 #D5D84C #E1E37E #EDEEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D84C#FFFFFF#000000##000000
##D5D84C1.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)
#E8CF39
Deuteranopia (green-blind)
#EAD355
Tritanopia (blue-blind)
#E3CBBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d84c;
/* rgb */ color: rgb(213, 216, 76);
/* oklch */ color: oklch(85.5% 0.159 110.5);
Tailwind
colors: {
  custom: {
    50: '#e5e385',
    500: '#d5d84c',
    950: '#000000',
  },
}
SCSS
$custom: #d5d84c;
$custom-light: #e5e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d84c",
  "rgb": {
    "r": 213,
    "g": 216,
    "b": 76
  },
  "hsl": {
    "h": 61.286,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.85457,
    "c": 0.15857,
    "h": 110.5
  },
  "luminance": 0.6378
}

Semantic roles & 50–950 ramp

primary
#D5D84C
secondary
#393791
accent
#41E744
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D5D84C

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

Preview Lab → · Contrast checker → · Palette generator →

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