#D7DD5F#D7DD5F

#D7DD5F is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 86.9% C 0.149 H 111.6°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#D7DD5F
RGBrgb(215, 221, 95)
HSLhsl(63, 65%, 62%)
HSVhsv(63, 57%, 87%)
CMYKcmyk(2.7%, 0%, 57%, 13.3%)
CIE-LABlab(85.50, -18.45, 59.80)
CIE-LCHlch(85.50, 62.58, 107.15°)
OKLaboklab(86.86% -0.0548 0.1382)
OKLCHoklch(86.86% 0.149 111.6)
XYZxyz(55.9477, 66.9874, 20.8069)
Luminance0.6699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DD5F #655FDD
analogous
#DDA45F #D7DD5F #98DD5F
triadic
#D7DD5F #5FD7DD #DD5FD7
tetradic
#D7DD5F #5FDDA4 #655FDD #DD5F98
square
#D7DD5F #5FDDA4 #655FDD #DD5F98
split-complementary
#D7DD5F #5F98DD #A45FDD
monochromatic
#9AA022 #CAD22D #D7DD5F #E4E891 #F0F2C4

Accessibility & contrast

On white

1.46
#D7DD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#D7DD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DD5F
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DD5F#FFFFFF#000000##000000
##D7DD5F1.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD451
Deuteranopia (green-blind)
#EDD766
Tritanopia (blue-blind)
#E4D1C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d7dd5f;
/* rgb */ color: rgb(215, 221, 95);
/* oklch */ color: oklch(86.9% 0.149 111.6);
Tailwind
colors: {
  custom: {
    50: '#e6e791',
    500: '#d7dd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d7dd5f;
$custom-light: #e6e791;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dd5f",
  "rgb": {
    "r": 215,
    "g": 221,
    "b": 95
  },
  "hsl": {
    "h": 62.857,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8686,
    "c": 0.14863,
    "h": 111.6
  },
  "luminance": 0.66986
}

Semantic roles & 50–950 ramp

primary
#D7DD5F
secondary
#423DA3
accent
#19CD21
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D7DD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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