#D2DD7B#D2DD7B

#D2DD7B is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.8% C 0.123 H 114.2°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#D2DD7B
RGBrgb(210, 221, 123)
HSLhsl(67, 59%, 67%)
HSVhsv(67, 44%, 87%)
CMYKcmyk(5%, 0%, 44.3%, 13.3%)
CIE-LABlab(85.43, -17.99, 46.66)
CIE-LCHlch(85.43, 50.00, 111.08°)
OKLaboklab(86.81% -0.0505 0.1122)
OKLCHoklch(86.81% 0.123 114.2)
XYZxyz(56.0106, 66.8453, 28.6869)
Luminance0.6684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DD7B #867BDD
analogous
#DDB77B #D2DD7B #A1DD7B
triadic
#D2DD7B #7BD2DD #DD7BD2
tetradic
#D2DD7B #7BDDB7 #867BDD #DD7BA1
square
#D2DD7B #7BDDB7 #867BDD #DD7BA1
split-complementary
#D2DD7B #7BA1DD #B77BDD
monochromatic
#A2B02D #C1D04A #D2DD7B #E3EAAC #F3F6DC

Accessibility & contrast

On white

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

On black

14.37
#D2DD7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DD7B
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DD7B#FFFFFF#000000##000000
##D2DD7B1.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D573
Deuteranopia (green-blind)
#E9D780
Tritanopia (blue-blind)
#DCD3C6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d2dd7b;
/* rgb */ color: rgb(210, 221, 123);
/* oklch */ color: oklch(86.8% 0.123 114.2);
Tailwind
colors: {
  custom: {
    50: '#e1e7a3',
    500: '#d2dd7b',
    950: '#000000',
  },
}
SCSS
$custom: #d2dd7b;
$custom-light: #e1e7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dd7b",
  "rgb": {
    "r": 210,
    "g": 221,
    "b": 123
  },
  "hsl": {
    "h": 66.735,
    "s": 59.036,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86808,
    "c": 0.12303,
    "h": 114.2
  },
  "luminance": 0.66845
}

Semantic roles & 50–950 ramp

primary
#D2DD7B
secondary
#564AB2
accent
#1FC732
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #D2DD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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