#DED197#DED197

#DED197 is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.8% C 0.077 H 97.0°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#DED197
RGBrgb(222, 209, 151)
HSLhsl(49, 52%, 73%)
HSVhsv(49, 32%, 87%)
CMYKcmyk(0%, 5.9%, 32%, 12.9%)
CIE-LABlab(83.63, -4.12, 30.45)
CIE-LCHlch(83.63, 30.73, 97.70°)
OKLaboklab(85.75% -0.0094 0.0761)
OKLCHoklch(85.75% 0.077 97)
XYZxyz(58.5112, 63.3664, 38.4209)
Luminance0.6337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED197 #97A4DE
analogous
#DEAD97 #DED197 #C7DE97
triadic
#DED197 #97DED1 #D197DE
tetradic
#DED197 #97DEAD #97A4DE #DE97C7
square
#DED197 #97DEAD #97A4DE #DE97C7
split-complementary
#DED197 #97C7DE #AD97DE
monochromatic
#BEA63C #CFBC69 #DED197 #EDE6C5 #F8F5E8

Accessibility & contrast

On white

1.54
#DED197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#DED197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED197
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED197#FFFFFF#000000##000000
##DED1971.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCE93
Deuteranopia (green-blind)
#E0D399
Tritanopia (blue-blind)
#E9C9C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ded197;
/* rgb */ color: rgb(222, 209, 151);
/* oklch */ color: oklch(85.8% 0.077 97.0);
Tailwind
colors: {
  custom: {
    50: '#e9dfb6',
    500: '#ded197',
    950: '#000000',
  },
}
SCSS
$custom: #ded197;
$custom-light: #e9dfb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ded197",
  "rgb": {
    "r": 222,
    "g": 209,
    "b": 151
  },
  "hsl": {
    "h": 49.014,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.8575,
    "c": 0.07667,
    "h": 97
  },
  "luminance": 0.63365
}

Semantic roles & 50–950 ramp

primary
#DED197
secondary
#6372B6
accent
#42BF26
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DED197

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

Preview Lab → · Contrast checker → · Palette generator →

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