#D2DD5F#D2DD5F

#D2DD5F is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.5% C 0.150 H 113.7°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#D2DD5F
RGBrgb(210, 221, 95)
HSLhsl(65, 65%, 62%)
HSVhsv(65, 57%, 87%)
CMYKcmyk(5%, 0%, 57%, 13.3%)
CIE-LABlab(85.12, -20.47, 59.27)
CIE-LCHlch(85.12, 62.71, 109.05°)
OKLaboklab(86.46% -0.0602 0.1371)
OKLCHoklch(86.46% 0.15 113.7)
XYZxyz(54.5015, 66.2417, 20.7391)
Luminance0.6624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DD5F #6A5FDD
analogous
#DDA95F #D2DD5F #93DD5F
triadic
#D2DD5F #5FD2DD #DD5FD2
tetradic
#D2DD5F #5FDDA9 #6A5FDD #DD5F93
square
#D2DD5F #5FDDA9 #6A5FDD #DD5F93
split-complementary
#D2DD5F #5F93DD #A95FDD
monochromatic
#95A022 #C4D22D #D2DD5F #E0E891 #EEF2C4

Accessibility & contrast

On white

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

On black

14.25
#D2DD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DD5F
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DD5F#FFFFFF#000000##000000
##D2DD5F1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD351
Deuteranopia (green-blind)
#EBD667
Tritanopia (blue-blind)
#DED1C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d2dd5f;
/* rgb */ color: rgb(210, 221, 95);
/* oklch */ color: oklch(86.5% 0.150 113.7);
Tailwind
colors: {
  custom: {
    50: '#e2e791',
    500: '#d2dd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d2dd5f;
$custom-light: #e2e791;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dd5f",
  "rgb": {
    "r": 210,
    "g": 221,
    "b": 95
  },
  "hsl": {
    "h": 65.238,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86464,
    "c": 0.14978,
    "h": 113.7
  },
  "luminance": 0.66241
}

Semantic roles & 50–950 ramp

primary
#D2DD5F
secondary
#463DA3
accent
#19CD28
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D2DD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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