#DED97F#DED97F

#DED97F is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.112 H 105.7°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#DED97F
RGBrgb(222, 217, 127)
HSLhsl(57, 59%, 68%)
HSVhsv(57, 43%, 87%)
CMYKcmyk(0%, 2.3%, 42.8%, 12.9%)
CIE-LABlab(85.35, -10.87, 44.81)
CIE-LCHlch(85.35, 46.11, 103.64°)
OKLaboklab(86.99% -0.0304 0.1082)
OKLCHoklch(86.99% 0.112 105.7)
XYZxyz(58.7690, 66.6891, 29.8510)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED97F #7F84DE
analogous
#DEA97F #DED97F #B3DE7F
triadic
#DED97F #7FDED9 #D97FDE
tetradic
#DED97F #7FDEA9 #7F84DE #DE7FB3
square
#DED97F #7FDEA9 #7F84DE #DE7FB3
split-complementary
#DED97F #7FB3DE #A97FDE
monochromatic
#B4AD2E #D1CB4E #DED97F #EBE7B0 #F7F6E0

Accessibility & contrast

On white

1.46
#DED97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#DED97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED97F
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED97F#FFFFFF#000000##000000
##DED97F1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D378
Deuteranopia (green-blind)
#E9D783
Tritanopia (blue-blind)
#EACEC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ded97f;
/* rgb */ color: rgb(222, 217, 127);
/* oklch */ color: oklch(87.0% 0.112 105.7);
Tailwind
colors: {
  custom: {
    50: '#eae4a5',
    500: '#ded97f',
    950: '#000000',
  },
}
SCSS
$custom: #ded97f;
$custom-light: #eae4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ded97f",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 127
  },
  "hsl": {
    "h": 56.842,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86989,
    "c": 0.11238,
    "h": 105.7
  },
  "luminance": 0.66688
}

Semantic roles & 50–950 ramp

primary
#DED97F
secondary
#4C52B5
accent
#28C71F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DED97F

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

Preview Lab → · Contrast checker → · Palette generator →

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