#D9D748#D9D748

#D9D748 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.160 H 108.6°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D9D748
RGBrgb(217, 215, 72)
HSLhsl(59, 66%, 57%)
HSVhsv(59, 67%, 85%)
CMYKcmyk(0%, 0.9%, 66.8%, 14.9%)
CIE-LABlab(83.87, -16.15, 67.54)
CIE-LCHlch(83.87, 69.45, 103.45°)
OKLaboklab(85.54% -0.0508 0.1513)
OKLCHoklch(85.54% 0.16 108.6)
XYZxyz(54.0873, 63.8221, 15.5994)
Luminance0.6382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D748 #484AD9
analogous
#D98E48 #D9D748 #93D948
triadic
#D9D748 #48D9D7 #D748D9
tetradic
#D9D748 #48D98E #484AD9 #D94893
square
#D9D748 #48D98E #484AD9 #D94893
split-complementary
#D9D748 #4893D9 #8E48D9
monochromatic
#8A881D #BDBB27 #D9D748 #E4E27B #EEEDAD

Accessibility & contrast

On white

1.53
#D9D748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D9D748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D748
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D748#FFFFFF#000000##000000
##D9D7481.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE33
Deuteranopia (green-blind)
#EAD352
Tritanopia (blue-blind)
#E8CABA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d748;
/* rgb */ color: rgb(217, 215, 72);
/* oklch */ color: oklch(85.5% 0.160 108.6);
Tailwind
colors: {
  custom: {
    50: '#e8e383',
    500: '#d9d748',
    950: '#000000',
  },
}
SCSS
$custom: #d9d748;
$custom-light: #e8e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d748",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 72
  },
  "hsl": {
    "h": 59.172,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85542,
    "c": 0.15958,
    "h": 108.6
  },
  "luminance": 0.6382
}

Semantic roles & 50–950 ramp

primary
#D9D748
secondary
#353790
accent
#42E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9D748

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

Preview Lab → · Contrast checker → · Palette generator →

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