#DED396#DED396

#DED396 is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.1% C 0.080 H 99.2°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#DED396
RGBrgb(222, 211, 150)
HSLhsl(51, 52%, 73%)
HSVhsv(51, 32%, 87%)
CMYKcmyk(0%, 5%, 32.4%, 12.9%)
CIE-LABlab(84.13, -5.27, 31.63)
CIE-LCHlch(84.13, 32.07, 99.46°)
OKLaboklab(86.14% -0.0127 0.0789)
OKLCHoklch(86.14% 0.08 99.2)
XYZxyz(58.9241, 64.3216, 38.1596)
Luminance0.6432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED396 #96A1DE
analogous
#DEAF96 #DED396 #C5DE96
triadic
#DED396 #96DED3 #D396DE
tetradic
#DED396 #96DEAF #96A1DE #DE96C5
square
#DED396 #96DEAF #96A1DE #DE96C5
split-complementary
#DED396 #96C5DE #AF96DE
monochromatic
#BEAA3C #CFBF67 #DED396 #EDE7C5 #F8F5E8

Accessibility & contrast

On white

1.51
#DED396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#DED396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED396
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED396#FFFFFF#000000##000000
##DED3961.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCF92
Deuteranopia (green-blind)
#E2D498
Tritanopia (blue-blind)
#E9CBC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ded396;
/* rgb */ color: rgb(222, 211, 150);
/* oklch */ color: oklch(86.1% 0.080 99.2);
Tailwind
colors: {
  custom: {
    50: '#e9e0b5',
    500: '#ded396',
    950: '#000000',
  },
}
SCSS
$custom: #ded396;
$custom-light: #e9e0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ded396",
  "rgb": {
    "r": 222,
    "g": 211,
    "b": 150
  },
  "hsl": {
    "h": 50.833,
    "s": 52.174,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86139,
    "c": 0.07988,
    "h": 99.2
  },
  "luminance": 0.6432
}

Semantic roles & 50–950 ramp

primary
#DED396
secondary
#626FB6
accent
#3DC026
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DED396

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

Preview Lab → · Contrast checker → · Palette generator →

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