#D8DC48#D8DC48

#D8DC48 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.5% C 0.165 H 110.9°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#D8DC48
RGBrgb(216, 220, 72)
HSLhsl(62, 68%, 57%)
HSVhsv(62, 67%, 86%)
CMYKcmyk(1.8%, 0%, 67.3%, 13.7%)
CIE-LABlab(85.13, -19.02, 68.78)
CIE-LCHlch(85.13, 71.36, 105.46°)
OKLaboklab(86.52% -0.0588 0.1539)
OKLCHoklch(86.52% 0.165 110.9)
XYZxyz(55.0836, 66.2546, 16.0164)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC48 #4C48DC
analogous
#DC9648 #D8DC48 #8EDC48
triadic
#D8DC48 #48D8DC #DC48D8
tetradic
#D8DC48 #48DC96 #4C48DC #DC488E
square
#D8DC48 #48DC96 #4C48DC #DC488E
split-complementary
#D8DC48 #488EDC #9648DC
monochromatic
#8B8E1B #BEC225 #D8DC48 #E3E67B #EEF0AF

Accessibility & contrast

On white

1.47
#D8DC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#D8DC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC48
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC48#FFFFFF#000000##000000
##D8DC481.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD231
Deuteranopia (green-blind)
#EED752
Tritanopia (blue-blind)
#E7CFBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc48;
/* rgb */ color: rgb(216, 220, 72);
/* oklch */ color: oklch(86.5% 0.165 110.9);
Tailwind
colors: {
  custom: {
    50: '#e7e683',
    500: '#d8dc48',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc48;
$custom-light: #e7e683;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc48",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 72
  },
  "hsl": {
    "h": 61.622,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.86523,
    "c": 0.16476,
    "h": 110.9
  },
  "luminance": 0.66253
}

Semantic roles & 50–950 ramp

primary
#D8DC48
secondary
#373594
accent
#3DEB42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8DC48

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

Preview Lab → · Contrast checker → · Palette generator →

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