#D8DB57#D8DB57

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

Color values

HEX#D8DB57
RGBrgb(216, 219, 87)
HSLhsl(61, 65%, 60%)
HSVhsv(61, 60%, 86%)
CMYKcmyk(1.4%, 0%, 60.3%, 14.1%)
CIE-LABlab(84.97, -17.63, 62.67)
CIE-LCHlch(84.97, 65.10, 105.71°)
OKLaboklab(86.44% -0.0534 0.1432)
OKLCHoklch(86.44% 0.153 110.4)
XYZxyz(55.3723, 65.9515, 18.8280)
Luminance0.6595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB57 #5A57DB
analogous
#DB9C57 #D8DB57 #96DB57
triadic
#D8DB57 #57D8DB #DB57D8
tetradic
#D8DB57 #57DB9C #5A57DB #DB5796
square
#D8DB57 #57DB9C #5A57DB #DB5796
split-complementary
#D8DB57 #5796DB #9C57DB
monochromatic
#949720 #C6CA2B #D8DB57 #E4E689 #EFF1BC

Accessibility & contrast

On white

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

On black

14.19
#D8DB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB57
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB57#FFFFFF#000000##000000
##D8DB571.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8db57;
/* rgb */ color: rgb(216, 219, 87);
/* oklch */ color: oklch(86.4% 0.153 110.4);
Tailwind
colors: {
  custom: {
    50: '#e7e68c',
    500: '#d8db57',
    950: '#000000',
  },
}
SCSS
$custom: #d8db57;
$custom-light: #e7e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db57",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 87
  },
  "hsl": {
    "h": 61.364,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.86436,
    "c": 0.15285,
    "h": 110.4
  },
  "luminance": 0.6595
}

Semantic roles & 50–950 ramp

primary
#D8DB57
secondary
#3D3B9C
accent
#40E844
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DB57

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

Preview Lab → · Contrast checker → · Palette generator →

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