#DED97A#DED97A

#DED97A is a very light, moderate yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.118 H 105.9°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#DED97A
RGBrgb(222, 217, 122)
HSLhsl(57, 60%, 67%)
HSVhsv(57, 45%, 87%)
CMYKcmyk(0%, 2.3%, 45%, 12.9%)
CIE-LABlab(85.28, -11.37, 47.17)
CIE-LCHlch(85.28, 48.52, 103.55°)
OKLaboklab(86.92% -0.0323 0.1131)
OKLCHoklch(86.92% 0.118 105.9)
XYZxyz(58.4512, 66.5620, 28.1773)
Luminance0.6656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED97A #7A7FDE
analogous
#DEA77A #DED97A #B1DE7A
triadic
#DED97A #7ADED9 #D97ADE
tetradic
#DED97A #7ADEA7 #7A7FDE #DE7AB1
square
#DED97A #7ADEA7 #7A7FDE #DE7AB1
split-complementary
#DED97A #7AB1DE #A77ADE
monochromatic
#B2AB2C #D2CB49 #DED97A #EAE7AB #F6F5DC

Accessibility & contrast

On white

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

On black

14.31
#DED97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED97A
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED97A#FFFFFF#000000##000000
##DED97A1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D372
Deuteranopia (green-blind)
#EAD77E
Tritanopia (blue-blind)
#EBCEC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ded97a;
/* rgb */ color: rgb(222, 217, 122);
/* oklch */ color: oklch(86.9% 0.118 105.9);
Tailwind
colors: {
  custom: {
    50: '#eae4a2',
    500: '#ded97a',
    950: '#000000',
  },
}
SCSS
$custom: #ded97a;
$custom-light: #eae4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ded97a",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 122
  },
  "hsl": {
    "h": 57,
    "s": 60.241,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86917,
    "c": 0.11765,
    "h": 105.9
  },
  "luminance": 0.6656
}

Semantic roles & 50–950 ramp

primary
#DED97A
secondary
#494EB3
accent
#26C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED97A

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

Preview Lab → · Contrast checker → · Palette generator →

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