#D5D74A#D5D74A

#D5D74A is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.2% C 0.159 H 110.1°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#D5D74A
RGBrgb(213, 215, 74)
HSLhsl(61, 64%, 57%)
HSVhsv(61, 66%, 84%)
CMYKcmyk(0.9%, 0%, 65.6%, 15.7%)
CIE-LABlab(83.57, -17.69, 66.37)
CIE-LCHlch(83.57, 68.68, 104.93°)
OKLaboklab(85.23% -0.0547 0.1492)
OKLCHoklch(85.23% 0.159 110.1)
XYZxyz(52.9787, 63.2429, 15.8936)
Luminance0.6324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D74A #4C4AD7
analogous
#D7934A #D5D74A #8FD74A
triadic
#D5D74A #4AD5D7 #D74AD5
tetradic
#D5D74A #4AD793 #4C4AD7 #D74A8F
square
#D5D74A #4AD793 #4C4AD7 #D74A8F
split-complementary
#D5D74A #4A8FD7 #934AD7
monochromatic
#87881E #B9BB29 #D5D74A #E1E27C #ECEDAE

Accessibility & contrast

On white

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

On black

13.65
#D5D74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D74A
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D74A#FFFFFF#000000##000000
##D5D74A1.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE36
Deuteranopia (green-blind)
#E9D254
Tritanopia (blue-blind)
#E3CABA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d74a;
/* rgb */ color: rgb(213, 215, 74);
/* oklch */ color: oklch(85.2% 0.159 110.1);
Tailwind
colors: {
  custom: {
    50: '#e5e384',
    500: '#d5d74a',
    950: '#000000',
  },
}
SCSS
$custom: #d5d74a;
$custom-light: #e5e384;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d74a",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 60.851,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85227,
    "c": 0.15894,
    "h": 110.1
  },
  "luminance": 0.63241
}

Semantic roles & 50–950 ramp

primary
#D5D74A
secondary
#38378F
accent
#41E743
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D74A

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

Preview Lab → · Contrast checker → · Palette generator →

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