#D7DB5D#D7DB5D

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

Color values

HEX#D7DB5D
RGBrgb(215, 219, 93)
HSLhsl(62, 64%, 61%)
HSVhsv(62, 58%, 86%)
CMYKcmyk(1.8%, 0%, 57.5%, 14.1%)
CIE-LABlab(84.95, -17.62, 60.05)
CIE-LCHlch(84.95, 62.59, 106.35°)
OKLaboklab(86.41% -0.0526 0.1385)
OKLCHoklch(86.41% 0.148 110.8)
XYZxyz(55.3331, 65.9017, 20.1593)
Luminance0.6590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DB5D #615DDB
analogous
#DBA05D #D7DB5D #98DB5D
triadic
#D7DB5D #5DD7DB #DB5DD7
tetradic
#D7DB5D #5DDBA0 #615DDB #DB5D98
square
#D7DB5D #5DDBA0 #615DDB #DB5D98
split-complementary
#D7DB5D #5D98DB #A05DDB
monochromatic
#979B22 #C8CD2E #D7DB5D #E3E68F #F0F1C1

Accessibility & contrast

On white

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

On black

14.18
#D7DB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DB5D
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DB5D#FFFFFF#000000##000000
##D7DB5D1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24F
Deuteranopia (green-blind)
#EBD664
Tritanopia (blue-blind)
#E4CFC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d7db5d;
/* rgb */ color: rgb(215, 219, 93);
/* oklch */ color: oklch(86.4% 0.148 110.8);
Tailwind
colors: {
  custom: {
    50: '#e6e68f',
    500: '#d7db5d',
    950: '#000000',
  },
}
SCSS
$custom: #d7db5d;
$custom-light: #e6e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7db5d",
  "rgb": {
    "r": 215,
    "g": 219,
    "b": 93
  },
  "hsl": {
    "h": 61.905,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86413,
    "c": 0.14814,
    "h": 110.8
  },
  "luminance": 0.659
}

Semantic roles & 50–950 ramp

primary
#D7DB5D
secondary
#403D9F
accent
#1ACB20
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7DB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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