#D8DF48#D8DF48

#D8DF48 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.2% C 0.168 H 112.0°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#D8DF48
RGBrgb(216, 223, 72)
HSLhsl(63, 70%, 58%)
HSVhsv(63, 68%, 87%)
CMYKcmyk(3.1%, 0%, 67.7%, 12.5%)
CIE-LABlab(85.93, -20.48, 69.58)
CIE-LCHlch(85.93, 72.54, 106.40°)
OKLaboklab(87.17% -0.0629 0.1556)
OKLCHoklch(87.17% 0.168 112)
XYZxyz(55.8780, 67.8435, 16.2812)
Luminance0.6784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF48 #4F48DF
analogous
#DF9A48 #D8DF48 #8DDF48
triadic
#D8DF48 #48D8DF #DF48D8
tetradic
#D8DF48 #48DF9A #4F48DF #DF488D
square
#D8DF48 #48DF9A #4F48DF #DF488D
split-complementary
#D8DF48 #488DDF #9A48DF
monochromatic
#8D931A #BFC723 #D8DF48 #E3E87C #EEF1B0

Accessibility & contrast

On white

1.44
#D8DF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#D8DF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF48
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF48#FFFFFF#000000##000000
##D8DF481.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D530
Deuteranopia (green-blind)
#F0D953
Tritanopia (blue-blind)
#E6D2C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d8df48;
/* rgb */ color: rgb(216, 223, 72);
/* oklch */ color: oklch(87.2% 0.168 112.0);
Tailwind
colors: {
  custom: {
    50: '#e7e884',
    500: '#d8df48',
    950: '#000000',
  },
}
SCSS
$custom: #d8df48;
$custom-light: #e7e884;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df48",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 72
  },
  "hsl": {
    "h": 62.781,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.87165,
    "c": 0.16784,
    "h": 112
  },
  "luminance": 0.67842
}

Semantic roles & 50–950 ramp

primary
#D8DF48
secondary
#383498
accent
#3BED43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D8DF48

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

Preview Lab → · Contrast checker → · Palette generator →

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