#D8DC5C#D8DC5C

#D8DC5C is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.7% C 0.150 H 110.8°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#D8DC5C
RGBrgb(216, 220, 92)
HSLhsl(62, 65%, 61%)
HSVhsv(62, 58%, 86%)
CMYKcmyk(1.8%, 0%, 58.2%, 13.7%)
CIE-LABlab(85.28, -17.78, 60.88)
CIE-LCHlch(85.28, 63.42, 106.28°)
OKLaboklab(86.7% -0.0533 0.1401)
OKLCHoklch(86.7% 0.15 110.8)
XYZxyz(55.8454, 66.5594, 20.0286)
Luminance0.6656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC5C #605CDC
analogous
#DCA05C #D8DC5C #98DC5C
triadic
#D8DC5C #5CD8DC #DC5CD8
tetradic
#D8DC5C #5CDCA0 #605CDC #DC5C98
square
#D8DC5C #5CDCA0 #605CDC #DC5C98
split-complementary
#D8DC5C #5C98DC #A05CDC
monochromatic
#989C22 #C9CE2C #D8DC5C #E4E78E #F0F2C1

Accessibility & contrast

On white

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

On black

14.31
#D8DC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC5C
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC5C#FFFFFF#000000##000000
##D8DC5C1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34E
Deuteranopia (green-blind)
#EDD764
Tritanopia (blue-blind)
#E6D0C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc5c;
/* rgb */ color: rgb(216, 220, 92);
/* oklch */ color: oklch(86.7% 0.150 110.8);
Tailwind
colors: {
  custom: {
    50: '#e7e68f',
    500: '#d8dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc5c;
$custom-light: #e7e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc5c",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 61.875,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86697,
    "c": 0.14986,
    "h": 110.8
  },
  "luminance": 0.66558
}

Semantic roles & 50–950 ramp

primary
#D8DC5C
secondary
#3F3CA0
accent
#19CC1F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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