#DED97D#DED97D

#DED97D is a very light, moderate yellow. Relative luminance 0.666; OKLCH L 87.0% C 0.115 H 105.8°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#DED97D
RGBrgb(222, 217, 125)
HSLhsl(57, 60%, 68%)
HSVhsv(57, 44%, 87%)
CMYKcmyk(0%, 2.3%, 43.7%, 12.9%)
CIE-LABlab(85.32, -11.07, 45.76)
CIE-LCHlch(85.32, 47.08, 103.61°)
OKLaboklab(86.96% -0.0312 0.1102)
OKLCHoklch(86.96% 0.115 105.8)
XYZxyz(58.6399, 66.6375, 29.1714)
Luminance0.6664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED97D #7D82DE
analogous
#DEA87D #DED97D #B2DE7D
triadic
#DED97D #7DDED9 #D97DDE
tetradic
#DED97D #7DDEA8 #7D82DE #DE7DB2
square
#DED97D #7DDEA8 #7D82DE #DE7DB2
split-complementary
#DED97D #7DB2DE #A87DDE
monochromatic
#B3AC2D #D2CB4C #DED97D #EAE7AE #F7F6DF

Accessibility & contrast

On white

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

On black

14.33
#DED97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED97D
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED97D#FFFFFF#000000##000000
##DED97D1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D375
Deuteranopia (green-blind)
#E9D781
Tritanopia (blue-blind)
#EBCEC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ded97d;
/* rgb */ color: rgb(222, 217, 125);
/* oklch */ color: oklch(87.0% 0.115 105.8);
Tailwind
colors: {
  custom: {
    50: '#eae4a4',
    500: '#ded97d',
    950: '#000000',
  },
}
SCSS
$custom: #ded97d;
$custom-light: #eae4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ded97d",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 125
  },
  "hsl": {
    "h": 56.907,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.86959,
    "c": 0.1145,
    "h": 105.8
  },
  "luminance": 0.66636
}

Semantic roles & 50–950 ramp

primary
#DED97D
secondary
#4B50B5
accent
#27C71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DED97D

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

Preview Lab → · Contrast checker → · Palette generator →

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