#D9D74D#D9D74D

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

Color values

HEX#D9D74D
RGBrgb(217, 215, 77)
HSLhsl(59, 65%, 58%)
HSVhsv(59, 65%, 85%)
CMYKcmyk(0%, 0.9%, 64.5%, 14.9%)
CIE-LABlab(83.91, -15.87, 65.64)
CIE-LCHlch(83.91, 67.53, 103.59°)
OKLaboklab(85.58% -0.0495 0.148)
OKLCHoklch(85.58% 0.156 108.5)
XYZxyz(54.2571, 63.8900, 16.4937)
Luminance0.6389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D74D #4D4FD9
analogous
#D9914D #D9D74D #95D94D
triadic
#D9D74D #4DD9D7 #D74DD9
tetradic
#D9D74D #4DD991 #4D4FD9 #D94D95
square
#D9D74D #4DD991 #4D4FD9 #D94D95
split-complementary
#D9D74D #4D95D9 #914DD9
monochromatic
#8D8C1E #C0BE29 #D9D74D #E4E27F #EFEEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D74D#FFFFFF#000000##000000
##D9D74D1.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)
#E8CF3A
Deuteranopia (green-blind)
#EAD356
Tritanopia (blue-blind)
#E8CABB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d74d;
/* rgb */ color: rgb(217, 215, 77);
/* oklch */ color: oklch(85.6% 0.156 108.5);
Tailwind
colors: {
  custom: {
    50: '#e8e386',
    500: '#d9d74d',
    950: '#000000',
  },
}
SCSS
$custom: #d9d74d;
$custom-light: #e8e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d74d",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 59.143,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85581,
    "c": 0.15611,
    "h": 108.5
  },
  "luminance": 0.63888
}

Semantic roles & 50–950 ramp

primary
#D9D74D
secondary
#373993
accent
#42E840
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D74D

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

Preview Lab → · Contrast checker → · Palette generator →

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