#D8DB51#D8DB51

#D8DB51 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.4% C 0.157 H 110.5°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#D8DB51
RGBrgb(216, 219, 81)
HSLhsl(61, 66%, 59%)
HSVhsv(61, 63%, 86%)
CMYKcmyk(1.4%, 0%, 63%, 14.1%)
CIE-LABlab(84.92, -18.01, 65.08)
CIE-LCHlch(84.92, 67.53, 105.47°)
OKLaboklab(86.38% -0.0551 0.1475)
OKLCHoklch(86.38% 0.157 110.5)
XYZxyz(55.1373, 65.8575, 17.5903)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB51 #5451DB
analogous
#DB9951 #D8DB51 #93DB51
triadic
#D8DB51 #51D8DB #DB51D8
tetradic
#D8DB51 #51DB99 #5451DB #DB5193
square
#D8DB51 #51DB99 #5451DB #DB5193
split-complementary
#D8DB51 #5193DB #9951DB
monochromatic
#91931E #C2C629 #D8DB51 #E3E584 #EFF0B6

Accessibility & contrast

On white

1.48
#D8DB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#D8DB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB51
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB51#FFFFFF#000000##000000
##D8DB511.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#EDD65A
Tritanopia (blue-blind)
#E6CEBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8db51;
/* rgb */ color: rgb(216, 219, 81);
/* oklch */ color: oklch(86.4% 0.157 110.5);
Tailwind
colors: {
  custom: {
    50: '#e7e688',
    500: '#d8db51',
    950: '#000000',
  },
}
SCSS
$custom: #d8db51;
$custom-light: #e7e688;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db51",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 61.304,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.86382,
    "c": 0.15744,
    "h": 110.5
  },
  "luminance": 0.65856
}

Semantic roles & 50–950 ramp

primary
#D8DB51
secondary
#3A3898
accent
#3FE943
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DB51

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

Preview Lab → · Contrast checker → · Palette generator →

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