#D8DB4F#D8DB4F

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

Color values

HEX#D8DB4F
RGBrgb(216, 219, 79)
HSLhsl(61, 66%, 58%)
HSVhsv(61, 64%, 86%)
CMYKcmyk(1.4%, 0%, 63.9%, 14.1%)
CIE-LABlab(84.91, -18.13, 65.86)
CIE-LCHlch(84.91, 68.31, 105.39°)
OKLaboklab(86.37% -0.0556 0.1489)
OKLCHoklch(86.37% 0.159 110.5)
XYZxyz(55.0634, 65.8279, 17.2011)
Luminance0.6583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB4F #524FDB
analogous
#DB984F #D8DB4F #92DB4F
triadic
#D8DB4F #4FD8DB #DB4FD8
tetradic
#D8DB4F #4FDB98 #524FDB #DB4F92
square
#D8DB4F #4FDB98 #524FDB #DB4F92
split-complementary
#D8DB4F #4F92DB #984FDB
monochromatic
#8F921E #C1C528 #D8DB4F #E3E582 #EFF0B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8DB4F#FFFFFF#000000##000000
##D8DB4F1.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)
#EBD23C
Deuteranopia (green-blind)
#EDD658
Tritanopia (blue-blind)
#E6CEBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8db4f;
/* rgb */ color: rgb(216, 219, 79);
/* oklch */ color: oklch(86.4% 0.159 110.5);
Tailwind
colors: {
  custom: {
    50: '#e7e687',
    500: '#d8db4f',
    950: '#000000',
  },
}
SCSS
$custom: #d8db4f;
$custom-light: #e7e687;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db4f",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 79
  },
  "hsl": {
    "h": 61.286,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.86365,
    "c": 0.1589,
    "h": 110.5
  },
  "luminance": 0.65826
}

Semantic roles & 50–950 ramp

primary
#D8DB4F
secondary
#393797
accent
#3FE942
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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