#D9D848#D9D848

#D9D848 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.8% C 0.161 H 109.0°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#D9D848
RGBrgb(217, 216, 72)
HSLhsl(60, 66%, 57%)
HSVhsv(60, 67%, 85%)
CMYKcmyk(0%, 0.5%, 66.8%, 14.9%)
CIE-LABlab(84.14, -16.64, 67.81)
CIE-LCHlch(84.14, 69.82, 103.79°)
OKLaboklab(85.75% -0.0522 0.1518)
OKLCHoklch(85.75% 0.161 109)
XYZxyz(54.3427, 64.3329, 15.6845)
Luminance0.6433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D848 #4849D9
analogous
#D99048 #D9D848 #92D948
triadic
#D9D848 #48D9D8 #D848D9
tetradic
#D9D848 #48D990 #4849D9 #D94892
square
#D9D848 #48D990 #4849D9 #D94892
split-complementary
#D9D848 #4892D9 #9048D9
monochromatic
#8A891D #BDBC27 #D9D848 #E4E37B #EEEEAD

Accessibility & contrast

On white

1.51
#D9D848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#D9D848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D848
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D848#FFFFFF#000000##000000
##D9D8481.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF32
Deuteranopia (green-blind)
#EBD452
Tritanopia (blue-blind)
#E8CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d848;
/* rgb */ color: rgb(217, 216, 72);
/* oklch */ color: oklch(85.8% 0.161 109.0);
Tailwind
colors: {
  custom: {
    50: '#e8e383',
    500: '#d9d848',
    950: '#000000',
  },
}
SCSS
$custom: #d9d848;
$custom-light: #e8e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d848",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 72
  },
  "hsl": {
    "h": 59.586,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85754,
    "c": 0.16056,
    "h": 109
  },
  "luminance": 0.64331
}

Semantic roles & 50–950 ramp

primary
#D9D848
secondary
#353690
accent
#40E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9D848

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

Preview Lab → · Contrast checker → · Palette generator →

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