#D5D74D#D5D74D

#D5D74D is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.3% C 0.157 H 110.1°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#D5D74D
RGBrgb(213, 215, 77)
HSLhsl(61, 63%, 57%)
HSVhsv(61, 64%, 84%)
CMYKcmyk(0.9%, 0%, 64.2%, 15.7%)
CIE-LABlab(83.59, -17.52, 65.21)
CIE-LCHlch(83.59, 67.53, 105.04°)
OKLaboklab(85.25% -0.0539 0.1473)
OKLCHoklch(85.25% 0.157 110.1)
XYZxyz(53.0822, 63.2843, 16.4386)
Luminance0.6328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D74D #4F4DD7
analogous
#D7944D #D5D74D #90D74D
triadic
#D5D74D #4DD5D7 #D74DD5
tetradic
#D5D74D #4DD794 #4F4DD7 #D74D90
square
#D5D74D #4DD794 #4F4DD7 #D74D90
split-complementary
#D5D74D #4D90D7 #944DD7
monochromatic
#898A1F #BABC2A #D5D74D #E1E27F #EDEDB1

Accessibility & contrast

On white

1.54
#D5D74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#D5D74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D74D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D74D#FFFFFF#000000##000000
##D5D74D1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3A
Deuteranopia (green-blind)
#E9D256
Tritanopia (blue-blind)
#E3CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d74d;
/* rgb */ color: rgb(213, 215, 77);
/* oklch */ color: oklch(85.3% 0.157 110.1);
Tailwind
colors: {
  custom: {
    50: '#e5e386',
    500: '#d5d74d',
    950: '#000000',
  },
}
SCSS
$custom: #d5d74d;
$custom-light: #e5e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d74d",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 60.87,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.85251,
    "c": 0.15682,
    "h": 110.1
  },
  "luminance": 0.63283
}

Semantic roles & 50–950 ramp

primary
#D5D74D
secondary
#393890
accent
#41E644
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D5D74D

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

Preview Lab → · Contrast checker → · Palette generator →

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