#D8DB4A#D8DB4A

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

Color values

HEX#D8DB4A
RGBrgb(216, 219, 74)
HSLhsl(61, 67%, 57%)
HSVhsv(61, 66%, 86%)
CMYKcmyk(1.4%, 0%, 66.2%, 14.1%)
CIE-LABlab(84.87, -18.42, 67.77)
CIE-LCHlch(84.87, 70.23, 105.21°)
OKLaboklab(86.33% -0.0569 0.1521)
OKLCHoklch(86.33% 0.162 110.5)
XYZxyz(54.8882, 65.7578, 16.2784)
Luminance0.6576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB4A #4D4ADB
analogous
#DB954A #D8DB4A #90DB4A
triadic
#D8DB4A #4AD8DB #DB4AD8
tetradic
#D8DB4A #4ADB95 #4D4ADB #DB4A90
square
#D8DB4A #4ADB95 #4D4ADB #DB4A90
split-complementary
#D8DB4A #4A90DB #954ADB
monochromatic
#8C8E1C #BEC126 #D8DB4A #E3E57D #EEEFB0

Accessibility & contrast

On white

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

On black

14.15
#D8DB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB4A
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB4A#FFFFFF#000000##000000
##D8DB4A1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD235
Deuteranopia (green-blind)
#EDD654
Tritanopia (blue-blind)
#E7CEBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8db4a;
/* rgb */ color: rgb(216, 219, 74);
/* oklch */ color: oklch(86.3% 0.162 110.5);
Tailwind
colors: {
  custom: {
    50: '#e7e584',
    500: '#d8db4a',
    950: '#000000',
  },
}
SCSS
$custom: #d8db4a;
$custom-light: #e7e584;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db4a",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 74
  },
  "hsl": {
    "h": 61.241,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.86325,
    "c": 0.16241,
    "h": 110.5
  },
  "luminance": 0.65756
}

Semantic roles & 50–950 ramp

primary
#D8DB4A
secondary
#373694
accent
#3EEA42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8DB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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