#D7DB5B#D7DB5B

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

Color values

HEX#D7DB5B
RGBrgb(215, 219, 91)
HSLhsl(62, 64%, 61%)
HSVhsv(62, 58%, 86%)
CMYKcmyk(1.8%, 0%, 58.4%, 14.1%)
CIE-LABlab(84.93, -17.76, 60.90)
CIE-LCHlch(84.93, 63.44, 106.26°)
OKLaboklab(86.39% -0.0533 0.14)
OKLCHoklch(86.39% 0.15 110.8)
XYZxyz(55.2457, 65.8667, 19.6988)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DB5B #5F5BDB
analogous
#DB9F5B #D7DB5B #97DB5B
triadic
#D7DB5B #5BD7DB #DB5BD7
tetradic
#D7DB5B #5BDB9F #5F5BDB #DB5B97
square
#D7DB5B #5BDB9F #5F5BDB #DB5B97
split-complementary
#D7DB5B #5B97DB #9F5BDB
monochromatic
#969A22 #C7CC2D #D7DB5B #E3E68D #EFF1BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7DB5B#FFFFFF#000000##000000
##D7DB5B1.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)
#EBD24D
Deuteranopia (green-blind)
#ECD663
Tritanopia (blue-blind)
#E5CFC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d7db5b;
/* rgb */ color: rgb(215, 219, 91);
/* oklch */ color: oklch(86.4% 0.150 110.8);
Tailwind
colors: {
  custom: {
    50: '#e6e68e',
    500: '#d7db5b',
    950: '#000000',
  },
}
SCSS
$custom: #d7db5b;
$custom-light: #e6e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7db5b",
  "rgb": {
    "r": 215,
    "g": 219,
    "b": 91
  },
  "hsl": {
    "h": 61.875,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86393,
    "c": 0.14981,
    "h": 110.8
  },
  "luminance": 0.65865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7DB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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