#D8DB5D#D8DB5D

#D8DB5D is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.5% C 0.148 H 110.4°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#D8DB5D
RGBrgb(216, 219, 93)
HSLhsl(61, 64%, 61%)
HSVhsv(61, 58%, 86%)
CMYKcmyk(1.4%, 0%, 57.5%, 14.1%)
CIE-LABlab(85.02, -17.21, 60.16)
CIE-LCHlch(85.02, 62.58, 105.97°)
OKLaboklab(86.49% -0.0516 0.1387)
OKLCHoklch(86.49% 0.148 110.4)
XYZxyz(55.6277, 66.0536, 20.1731)
Luminance0.6605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB5D #605DDB
analogous
#DB9F5D #D8DB5D #99DB5D
triadic
#D8DB5D #5DD8DB #DB5DD8
tetradic
#D8DB5D #5DDB9F #605DDB #DB5D99
square
#D8DB5D #5DDB9F #605DDB #DB5D99
split-complementary
#D8DB5D #5D99DB #9F5DDB
monochromatic
#989B22 #C9CD2E #D8DB5D #E4E68F #F0F1C1

Accessibility & contrast

On white

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

On black

14.21
#D8DB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB5D
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB5D#FFFFFF#000000##000000
##D8DB5D1.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24F
Deuteranopia (green-blind)
#ECD664
Tritanopia (blue-blind)
#E6CFC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8db5d;
/* rgb */ color: rgb(216, 219, 93);
/* oklch */ color: oklch(86.5% 0.148 110.4);
Tailwind
colors: {
  custom: {
    50: '#e7e68f',
    500: '#d8db5d',
    950: '#000000',
  },
}
SCSS
$custom: #d8db5d;
$custom-light: #e7e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db5d",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 93
  },
  "hsl": {
    "h": 61.429,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86494,
    "c": 0.14795,
    "h": 110.4
  },
  "luminance": 0.66052
}

Semantic roles & 50–950 ramp

primary
#D8DB5D
secondary
#3F3D9F
accent
#1ACB1E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8DB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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