#D2DD98#D2DD98

#D2DD98 is a very light, moderate yellow. Relative luminance 0.677; OKLCH L 87.3% C 0.090 H 115.7°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#D2DD98
RGBrgb(210, 221, 152)
HSLhsl(70, 50%, 73%)
HSVhsv(70, 31%, 87%)
CMYKcmyk(5%, 0%, 31.2%, 13.3%)
CIE-LABlab(85.85, -14.65, 32.71)
CIE-LCHlch(85.85, 35.84, 114.12°)
OKLaboklab(87.28% -0.0392 0.0815)
OKLCHoklch(87.28% 0.09 115.7)
XYZxyz(58.1022, 67.6820, 39.7027)
Luminance0.6768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DD98 #A398DD
analogous
#DDC598 #D2DD98 #AFDD98
triadic
#D2DD98 #98D2DD #DD98D2
tetradic
#D2DD98 #98DDC5 #A398DD #DD98AF
square
#D2DD98 #98DDC5 #A398DD #DD98AF
split-complementary
#D2DD98 #98AFDD #C598DD
monochromatic
#A8BC3E #BECE6A #D2DD98 #E6ECC6 #F5F7E8

Accessibility & contrast

On white

1.44
#D2DD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#D2DD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DD98
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DD98#FFFFFF#000000##000000
##D2DD981.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D693
Deuteranopia (green-blind)
#E6D79B
Tritanopia (blue-blind)
#DAD5CB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2dd98;
/* rgb */ color: rgb(210, 221, 152);
/* oklch */ color: oklch(87.3% 0.090 115.7);
Tailwind
colors: {
  custom: {
    50: '#e0e7b7',
    500: '#d2dd98',
    950: '#000000',
  },
}
SCSS
$custom: #d2dd98;
$custom-light: #e0e7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dd98",
  "rgb": {
    "r": 210,
    "g": 221,
    "b": 152
  },
  "hsl": {
    "h": 69.565,
    "s": 50.365,
    "l": 73.137
  },
  "oklch": {
    "l": 0.87281,
    "c": 0.09044,
    "h": 115.7
  },
  "luminance": 0.67682
}

Semantic roles & 50–950 ramp

primary
#D2DD98
secondary
#7164B5
accent
#28BE40
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #D2DD98

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

Preview Lab → · Contrast checker → · Palette generator →

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