#D9D54B#D9D54B

#D9D54B is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.1% C 0.156 H 107.7°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#D9D54B
RGBrgb(217, 213, 75)
HSLhsl(58, 65%, 57%)
HSVhsv(58, 65%, 85%)
CMYKcmyk(0%, 1.8%, 65.4%, 14.9%)
CIE-LABlab(83.36, -14.99, 65.87)
CIE-LCHlch(83.36, 67.55, 102.82°)
OKLaboklab(85.14% -0.0472 0.1482)
OKLCHoklch(85.14% 0.156 107.7)
XYZxyz(53.6814, 62.8499, 15.9588)
Luminance0.6285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D54B #4B4FD9
analogous
#D98E4B #D9D54B #96D94B
triadic
#D9D54B #4BD9D5 #D54BD9
tetradic
#D9D54B #4BD98E #4B4FD9 #D94B96
square
#D9D54B #4BD98E #4B4FD9 #D94B96
split-complementary
#D9D54B #4B96D9 #8E4BD9
monochromatic
#8C891E #BFBA28 #D9D54B #E4E17E #EEEDB0

Accessibility & contrast

On white

1.55
#D9D54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#D9D54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D54B
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D54B#FFFFFF#000000##000000
##D9D54B1.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD38
Deuteranopia (green-blind)
#E9D254
Tritanopia (blue-blind)
#E8C8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d54b;
/* rgb */ color: rgb(217, 213, 75);
/* oklch */ color: oklch(85.1% 0.156 107.7);
Tailwind
colors: {
  custom: {
    50: '#e8e184',
    500: '#d9d54b',
    950: '#000000',
  },
}
SCSS
$custom: #d9d54b;
$custom-light: #e8e184;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d54b",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 58.31,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.85142,
    "c": 0.15556,
    "h": 107.7
  },
  "luminance": 0.62848
}

Semantic roles & 50–950 ramp

primary
#D9D54B
secondary
#363992
accent
#44E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9D54B

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

Preview Lab → · Contrast checker → · Palette generator →

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