#DEDD97#DEDD97

#DEDD97 is a very light, moderate yellow. Relative luminance 0.695; OKLCH L 88.2% C 0.090 H 107.4°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#DEDD97
RGBrgb(222, 221, 151)
HSLhsl(59, 52%, 73%)
HSVhsv(59, 32%, 87%)
CMYKcmyk(0%, 0.5%, 32%, 12.9%)
CIE-LABlab(86.74, -10.23, 34.57)
CIE-LCHlch(86.74, 36.05, 106.48°)
OKLaboklab(88.21% -0.0269 0.0858)
OKLCHoklch(88.21% 0.09 107.4)
XYZxyz(61.5670, 69.4780, 39.4395)
Luminance0.6948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDD97 #9798DE
analogous
#DEB997 #DEDD97 #BBDE97
triadic
#DEDD97 #97DEDD #DD97DE
tetradic
#DEDD97 #97DEB9 #9798DE #DE97BB
square
#DEDD97 #97DEB9 #9798DE #DE97BB
split-complementary
#DEDD97 #97BBDE #B997DE
monochromatic
#BEBC3C #CFCE69 #DEDD97 #EDECC5 #F8F7E8

Accessibility & contrast

On white

1.41
#DEDD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#DEDD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDD97
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDD97#FFFFFF#000000##000000
##DEDD971.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D792
Deuteranopia (green-blind)
#EADB9A
Tritanopia (blue-blind)
#E8D4CB
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dedd97;
/* rgb */ color: rgb(222, 221, 151);
/* oklch */ color: oklch(88.2% 0.090 107.4);
Tailwind
colors: {
  custom: {
    50: '#e9e7b6',
    500: '#dedd97',
    950: '#000000',
  },
}
SCSS
$custom: #dedd97;
$custom-light: #e9e7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dedd97",
  "rgb": {
    "r": 222,
    "g": 221,
    "b": 151
  },
  "hsl": {
    "h": 59.155,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.88209,
    "c": 0.08991,
    "h": 107.4
  },
  "luminance": 0.69477
}

Semantic roles & 50–950 ramp

primary
#DEDD97
secondary
#6364B6
accent
#28BF26
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DEDD97

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

Preview Lab → · Contrast checker → · Palette generator →

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