#D9D74B#D9D74B

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

Color values

HEX#D9D74B
RGBrgb(217, 215, 75)
HSLhsl(59, 65%, 57%)
HSVhsv(59, 65%, 85%)
CMYKcmyk(0%, 0.9%, 65.4%, 14.9%)
CIE-LABlab(83.89, -15.98, 66.41)
CIE-LCHlch(83.89, 68.31, 103.53°)
OKLaboklab(85.57% -0.05 0.1494)
OKLCHoklch(85.57% 0.158 108.5)
XYZxyz(54.1876, 63.8622, 16.1275)
Luminance0.6386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D74B #4B4DD9
analogous
#D9904B #D9D74B #94D94B
triadic
#D9D74B #4BD9D7 #D74BD9
tetradic
#D9D74B #4BD990 #4B4DD9 #D94B94
square
#D9D74B #4BD990 #4B4DD9 #D94B94
split-complementary
#D9D74B #4B94D9 #904BD9
monochromatic
#8C8A1E #BFBC28 #D9D74B #E4E27E #EEEDB0

Accessibility & contrast

On white

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

On black

13.77
#D9D74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D74B
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D74B#FFFFFF#000000##000000
##D9D74B1.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d74b;
/* rgb */ color: rgb(217, 215, 75);
/* oklch */ color: oklch(85.6% 0.158 108.5);
Tailwind
colors: {
  custom: {
    50: '#e8e385',
    500: '#d9d74b',
    950: '#000000',
  },
}
SCSS
$custom: #d9d74b;
$custom-light: #e8e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d74b",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 75
  },
  "hsl": {
    "h": 59.155,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.85565,
    "c": 0.15752,
    "h": 108.5
  },
  "luminance": 0.63861
}

Semantic roles & 50–950 ramp

primary
#D9D74B
secondary
#363892
accent
#42E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9D74B

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

Preview Lab → · Contrast checker → · Palette generator →

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