#D8DB7A#D8DB7A

#D8DB7A is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.8% C 0.121 H 110.2°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#D8DB7A
RGBrgb(216, 219, 122)
HSLhsl(62, 57%, 67%)
HSVhsv(62, 44%, 86%)
CMYKcmyk(1.4%, 0%, 44.3%, 14.1%)
CIE-LABlab(85.34, -14.74, 47.13)
CIE-LCHlch(85.34, 49.39, 107.37°)
OKLaboklab(86.84% -0.0417 0.1131)
OKLCHoklch(86.84% 0.121 110.2)
XYZxyz(57.1642, 66.6682, 28.2655)
Luminance0.6667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB7A #7D7ADB
analogous
#DBAE7A #D8DB7A #A8DB7A
triadic
#D8DB7A #7AD8DB #DB7AD8
tetradic
#D8DB7A #7ADBAE #7D7ADB #DB7AA8
square
#D8DB7A #7ADBAE #7D7ADB #DB7AA8
split-complementary
#D8DB7A #7AA8DB #AE7ADB
monochromatic
#A8AC2F #CACE4A #D8DB7A #E6E8AA #F4F5DA

Accessibility & contrast

On white

1.47
#D8DB7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#D8DB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB7A
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB7A#FFFFFF#000000##000000
##D8DB7A1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D472
Deuteranopia (green-blind)
#E9D77F
Tritanopia (blue-blind)
#E4D1C4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8db7a;
/* rgb */ color: rgb(216, 219, 122);
/* oklch */ color: oklch(86.8% 0.121 110.2);
Tailwind
colors: {
  custom: {
    50: '#e6e6a2',
    500: '#d8db7a',
    950: '#000000',
  },
}
SCSS
$custom: #d8db7a;
$custom-light: #e6e6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db7a",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 122
  },
  "hsl": {
    "h": 61.856,
    "s": 57.396,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86844,
    "c": 0.12054,
    "h": 110.2
  },
  "luminance": 0.66667
}

Semantic roles & 50–950 ramp

primary
#D8DB7A
secondary
#4E4BAF
accent
#21C526
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D8DB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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