#D2DB8D#D2DB8D

#D2DB8D is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 86.7% C 0.101 H 113.9°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#D2DB8D
RGBrgb(210, 219, 141)
HSLhsl(67, 52%, 71%)
HSVhsv(67, 36%, 86%)
CMYKcmyk(4.1%, 0%, 35.6%, 14.1%)
CIE-LABlab(85.14, -15.01, 37.38)
CIE-LCHlch(85.14, 40.28, 111.88°)
OKLaboklab(86.66% -0.0408 0.092)
OKLCHoklch(86.66% 0.101 113.9)
XYZxyz(56.7179, 66.2884, 35.0012)
Luminance0.6629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DB8D #968DDB
analogous
#DBBD8D #D2DB8D #ABDB8D
triadic
#D2DB8D #8DD2DB #DB8DD2
tetradic
#D2DB8D #8DDBBD #968DDB #DB8DAB
square
#D2DB8D #8DDBBD #968DDB #DB8DAB
split-complementary
#D2DB8D #8DABDB #BD8DDB
monochromatic
#A6B539 #C0CC5E #D2DB8D #E4EABC #F6F8E8

Accessibility & contrast

On white

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

On black

14.26
#D2DB8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DB8D
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DB8D#FFFFFF#000000##000000
##D2DB8D1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D487
Deuteranopia (green-blind)
#E5D690
Tritanopia (blue-blind)
#DBD3C7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d2db8d;
/* rgb */ color: rgb(210, 219, 141);
/* oklch */ color: oklch(86.7% 0.101 113.9);
Tailwind
colors: {
  custom: {
    50: '#e1e6af',
    500: '#d2db8d',
    950: '#000000',
  },
}
SCSS
$custom: #d2db8d;
$custom-light: #e1e6af;
$custom-dark: #000000;
JSON
{
  "hex": "#d2db8d",
  "rgb": {
    "r": 210,
    "g": 219,
    "b": 141
  },
  "hsl": {
    "h": 66.923,
    "s": 52,
    "l": 70.588
  },
  "oklch": {
    "l": 0.86664,
    "c": 0.10066,
    "h": 113.9
  },
  "luminance": 0.66288
}

Semantic roles & 50–950 ramp

primary
#D2DB8D
secondary
#645AB2
accent
#26BF38
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2DB8D

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

Preview Lab → · Contrast checker → · Palette generator →

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