#D8DB5C#D8DB5C

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

Color values

HEX#D8DB5C
RGBrgb(216, 219, 92)
HSLhsl(61, 64%, 61%)
HSVhsv(61, 58%, 86%)
CMYKcmyk(1.4%, 0%, 58%, 14.1%)
CIE-LABlab(85.01, -17.28, 60.59)
CIE-LCHlch(85.01, 63.00, 105.92°)
OKLaboklab(86.48% -0.0519 0.1395)
OKLCHoklch(86.48% 0.149 110.4)
XYZxyz(55.5837, 66.0360, 19.9414)
Luminance0.6603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB5C #5F5CDB
analogous
#DB9E5C #D8DB5C #98DB5C
triadic
#D8DB5C #5CD8DB #DB5CD8
tetradic
#D8DB5C #5CDB9E #5F5CDB #DB5C98
square
#D8DB5C #5CDB9E #5F5CDB #DB5C98
split-complementary
#D8DB5C #5C98DB #9E5CDB
monochromatic
#989A22 #C9CD2D #D8DB5C #E4E68E #F0F1C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8DB5C#FFFFFF#000000##000000
##D8DB5C1.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)
#EBD24E
Deuteranopia (green-blind)
#ECD663
Tritanopia (blue-blind)
#E6CFC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8db5c;
/* rgb */ color: rgb(216, 219, 92);
/* oklch */ color: oklch(86.5% 0.149 110.4);
Tailwind
colors: {
  custom: {
    50: '#e7e68f',
    500: '#d8db5c',
    950: '#000000',
  },
}
SCSS
$custom: #d8db5c;
$custom-light: #e7e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db5c",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 92
  },
  "hsl": {
    "h": 61.417,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86484,
    "c": 0.14879,
    "h": 110.4
  },
  "luminance": 0.66035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8DB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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