#D5D74F#D5D74F

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

Color values

HEX#D5D74F
RGBrgb(213, 215, 79)
HSLhsl(61, 63%, 58%)
HSVhsv(61, 63%, 84%)
CMYKcmyk(0.9%, 0%, 63.3%, 15.7%)
CIE-LABlab(83.61, -17.40, 64.43)
CIE-LCHlch(83.61, 66.74, 105.11°)
OKLaboklab(85.27% -0.0534 0.1459)
OKLCHoklch(85.27% 0.155 110.1)
XYZxyz(53.1539, 63.3129, 16.8162)
Luminance0.6331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D74F #514FD7
analogous
#D7954F #D5D74F #91D74F
triadic
#D5D74F #4FD5D7 #D74FD5
tetradic
#D5D74F #4FD795 #514FD7 #D74F91
square
#D5D74F #4FD795 #514FD7 #D74F91
split-complementary
#D5D74F #4F91D7 #954FD7
monochromatic
#8A8C20 #BCBE2B #D5D74F #E1E281 #EDEEB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D74F#FFFFFF#000000##000000
##D5D74F1.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)
#E7CE3D
Deuteranopia (green-blind)
#E9D258
Tritanopia (blue-blind)
#E3CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d74f;
/* rgb */ color: rgb(213, 215, 79);
/* oklch */ color: oklch(85.3% 0.155 110.1);
Tailwind
colors: {
  custom: {
    50: '#e5e387',
    500: '#d5d74f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d74f;
$custom-light: #e5e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d74f",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 60.882,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85268,
    "c": 0.15535,
    "h": 110.1
  },
  "luminance": 0.63312
}

Semantic roles & 50–950 ramp

primary
#D5D74F
secondary
#3A3992
accent
#42E644
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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