#D9D74E#D9D74E

#D9D74E 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#D9D74E
RGBrgb(217, 215, 78)
HSLhsl(59, 65%, 58%)
HSVhsv(59, 64%, 85%)
CMYKcmyk(0%, 0.9%, 64.1%, 14.9%)
CIE-LABlab(83.92, -15.81, 65.25)
CIE-LCHlch(83.92, 67.14, 103.62°)
OKLaboklab(85.59% -0.0492 0.1474)
OKLCHoklch(85.59% 0.155 108.5)
XYZxyz(54.2927, 63.9043, 16.6811)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D74E #4E50D9
analogous
#D9924E #D9D74E #95D94E
triadic
#D9D74E #4ED9D7 #D74ED9
tetradic
#D9D74E #4ED992 #4E50D9 #D94E95
square
#D9D74E #4ED992 #4E50D9 #D94E95
split-complementary
#D9D74E #4E95D9 #924ED9
monochromatic
#8E8C1F #C0BE29 #D9D74E #E4E280 #EFEEB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D74E#FFFFFF#000000##000000
##D9D74E1.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)
#E8CF3C
Deuteranopia (green-blind)
#EAD457
Tritanopia (blue-blind)
#E8CABB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d74e;
/* rgb */ color: rgb(217, 215, 78);
/* oklch */ color: oklch(85.6% 0.155 108.5);
Tailwind
colors: {
  custom: {
    50: '#e8e386',
    500: '#d9d74e',
    950: '#000000',
  },
}
SCSS
$custom: #d9d74e;
$custom-light: #e8e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d74e",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 59.137,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8559,
    "c": 0.15538,
    "h": 108.5
  },
  "luminance": 0.63903
}

Semantic roles & 50–950 ramp

primary
#D9D74E
secondary
#383994
accent
#43E840
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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