#DEDB97#DEDB97

#DEDB97 is a very light, moderate yellow. Relative luminance 0.684; OKLCH L 87.8% C 0.088 H 105.9°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#DEDB97
RGBrgb(222, 219, 151)
HSLhsl(57, 52%, 73%)
HSVhsv(57, 32%, 87%)
CMYKcmyk(0%, 1.4%, 32%, 12.9%)
CIE-LABlab(86.22, -9.22, 33.89)
CIE-LCHlch(86.22, 35.12, 105.22°)
OKLaboklab(87.8% -0.024 0.0842)
OKLCHoklch(87.8% 0.088 105.9)
XYZxyz(61.0421, 68.4282, 39.2645)
Luminance0.6843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDB97 #979ADE
analogous
#DEB797 #DEDB97 #BDDE97
triadic
#DEDB97 #97DEDB #DB97DE
tetradic
#DEDB97 #97DEB7 #979ADE #DE97BD
square
#DEDB97 #97DEB7 #979ADE #DE97BD
split-complementary
#DEDB97 #97BDDE #B797DE
monochromatic
#BEB93C #CFCB69 #DEDB97 #EDEBC5 #F8F7E8

Accessibility & contrast

On white

1.43
#DEDB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#DEDB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDB97
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDB97#FFFFFF#000000##000000
##DEDB971.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D692
Deuteranopia (green-blind)
#E8D99A
Tritanopia (blue-blind)
#E8D2C9
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dedb97;
/* rgb */ color: rgb(222, 219, 151);
/* oklch */ color: oklch(87.8% 0.088 105.9);
Tailwind
colors: {
  custom: {
    50: '#e9e6b6',
    500: '#dedb97',
    950: '#000000',
  },
}
SCSS
$custom: #dedb97;
$custom-light: #e9e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dedb97",
  "rgb": {
    "r": 222,
    "g": 219,
    "b": 151
  },
  "hsl": {
    "h": 57.465,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.87797,
    "c": 0.08754,
    "h": 105.9
  },
  "luminance": 0.68427
}

Semantic roles & 50–950 ramp

primary
#DEDB97
secondary
#6367B6
accent
#2DBF26
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DEDB97

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

Preview Lab → · Contrast checker → · Palette generator →

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