#D9D74F#D9D74F

#D9D74F is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.6% C 0.155 H 108.5°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#D9D74F
RGBrgb(217, 215, 79)
HSLhsl(59, 64%, 58%)
HSVhsv(59, 64%, 85%)
CMYKcmyk(0%, 0.9%, 63.6%, 14.9%)
CIE-LABlab(83.92, -15.75, 64.86)
CIE-LCHlch(83.92, 66.74, 103.65°)
OKLaboklab(85.6% -0.049 0.1467)
OKLCHoklch(85.6% 0.155 108.5)
XYZxyz(54.3288, 63.9187, 16.8713)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D74F #4F51D9
analogous
#D9924F #D9D74F #96D94F
triadic
#D9D74F #4FD9D7 #D74FD9
tetradic
#D9D74F #4FD992 #4F51D9 #D94F96
square
#D9D74F #4FD992 #4F51D9 #D94F96
split-complementary
#D9D74F #4F96D9 #924FD9
monochromatic
#8F8D1F #C1BF2A #D9D74F #E4E281 #EFEEB4

Accessibility & contrast

On white

1.52
#D9D74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#D9D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D74F
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D74F#FFFFFF#000000##000000
##D9D74F1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d74f;
/* rgb */ color: rgb(217, 215, 79);
/* oklch */ color: oklch(85.6% 0.155 108.5);
Tailwind
colors: {
  custom: {
    50: '#e8e387',
    500: '#d9d74f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d74f;
$custom-light: #e8e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d74f",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 59.13,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85598,
    "c": 0.15466,
    "h": 108.5
  },
  "luminance": 0.63917
}

Semantic roles & 50–950 ramp

primary
#D9D74F
secondary
#383994
accent
#43E740
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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