#D8D848#D8D848

#D8D848 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.7% C 0.161 H 109.4°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#D8D848
RGBrgb(216, 216, 72)
HSLhsl(60, 65%, 56%)
HSVhsv(60, 67%, 85%)
CMYKcmyk(0%, 0%, 66.7%, 15.3%)
CIE-LABlab(84.06, -17.06, 67.71)
CIE-LCHlch(84.06, 69.82, 104.14°)
OKLaboklab(85.67% -0.0533 0.1517)
OKLCHoklch(85.67% 0.161 109.4)
XYZxyz(54.0463, 64.1801, 15.6707)
Luminance0.6418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D848 #4848D8
analogous
#D89048 #D8D848 #90D848
triadic
#D8D848 #48D8D8 #D848D8
tetradic
#D8D848 #48D890 #4848D8 #D84890
square
#D8D848 #48D890 #4848D8 #D84890
split-complementary
#D8D848 #4890D8 #9048D8
monochromatic
#89891D #BBBB28 #D8D848 #E3E37A #EEEEAD

Accessibility & contrast

On white

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

On black

13.84
#D8D848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D848
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D848#FFFFFF#000000##000000
##D8D8481.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d848;
/* rgb */ color: rgb(216, 216, 72);
/* oklch */ color: oklch(85.7% 0.161 109.4);
Tailwind
colors: {
  custom: {
    50: '#e7e383',
    500: '#d8d848',
    950: '#000000',
  },
}
SCSS
$custom: #d8d848;
$custom-light: #e7e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d848",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85671,
    "c": 0.16074,
    "h": 109.4
  },
  "luminance": 0.64179
}

Semantic roles & 50–950 ramp

primary
#D8D848
secondary
#36368F
accent
#40E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D848

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

Preview Lab → · Contrast checker → · Palette generator →

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