#D7DB5A#D7DB5A

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

Color values

HEX#D7DB5A
RGBrgb(215, 219, 90)
HSLhsl(62, 64%, 61%)
HSVhsv(62, 59%, 86%)
CMYKcmyk(1.8%, 0%, 58.9%, 14.1%)
CIE-LABlab(84.92, -17.83, 61.32)
CIE-LCHlch(84.92, 63.86, 106.21°)
OKLaboklab(86.38% -0.0536 0.1408)
OKLCHoklch(86.38% 0.151 110.8)
XYZxyz(55.2028, 65.8496, 19.4732)
Luminance0.6585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DB5A #5E5ADB
analogous
#DB9E5A #D7DB5A #97DB5A
triadic
#D7DB5A #5AD7DB #DB5AD7
tetradic
#D7DB5A #5ADB9E #5E5ADB #DB5A97
square
#D7DB5A #5ADB9E #5E5ADB #DB5A97
split-complementary
#D7DB5A #5A97DB #9E5ADB
monochromatic
#959921 #C6CB2C #D7DB5A #E3E68C #EFF1BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7DB5A#FFFFFF#000000##000000
##D7DB5A1.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)
#EBD24B
Deuteranopia (green-blind)
#ECD662
Tritanopia (blue-blind)
#E5CFBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d7db5a;
/* rgb */ color: rgb(215, 219, 90);
/* oklch */ color: oklch(86.4% 0.151 110.8);
Tailwind
colors: {
  custom: {
    50: '#e6e68e',
    500: '#d7db5a',
    950: '#000000',
  },
}
SCSS
$custom: #d7db5a;
$custom-light: #e6e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7db5a",
  "rgb": {
    "r": 215,
    "g": 219,
    "b": 90
  },
  "hsl": {
    "h": 61.86,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.86384,
    "c": 0.15063,
    "h": 110.8
  },
  "luminance": 0.65848
}

Semantic roles & 50–950 ramp

primary
#D7DB5A
secondary
#3F3C9D
accent
#1ACC1F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7DB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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