#D8DC4B#D8DC4B

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

Color values

HEX#D8DC4B
RGBrgb(216, 220, 75)
HSLhsl(62, 67%, 58%)
HSVhsv(62, 66%, 86%)
CMYKcmyk(1.8%, 0%, 65.9%, 13.7%)
CIE-LABlab(85.15, -18.86, 67.67)
CIE-LCHlch(85.15, 70.25, 105.57°)
OKLaboklab(86.55% -0.058 0.152)
OKLCHoklch(86.55% 0.163 110.9)
XYZxyz(55.1838, 66.2947, 16.5445)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC4B #4F4BDC
analogous
#DC974B #D8DC4B #90DC4B
triadic
#D8DC4B #4BD8DC #DC4BD8
tetradic
#D8DC4B #4BDC97 #4F4BDC #DC4B90
square
#D8DC4B #4BDC97 #4F4BDC #DC4B90
split-complementary
#D8DC4B #4B90DC #974BDC
monochromatic
#8D911C #BFC426 #D8DC4B #E3E67E #EEF0B1

Accessibility & contrast

On white

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

On black

14.26
#D8DC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC4B
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC4B#FFFFFF#000000##000000
##D8DC4B1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD336
Deuteranopia (green-blind)
#EED755
Tritanopia (blue-blind)
#E6CFBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc4b;
/* rgb */ color: rgb(216, 220, 75);
/* oklch */ color: oklch(86.5% 0.163 110.9);
Tailwind
colors: {
  custom: {
    50: '#e7e685',
    500: '#d8dc4b',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc4b;
$custom-light: #e7e685;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc4b",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 75
  },
  "hsl": {
    "h": 61.655,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.86546,
    "c": 0.16275,
    "h": 110.9
  },
  "luminance": 0.66293
}

Semantic roles & 50–950 ramp

primary
#D8DC4B
secondary
#383696
accent
#3DEA42
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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