#DED296#DED296

#DED296 is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.9% C 0.079 H 98.2°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#DED296
RGBrgb(222, 210, 150)
HSLhsl(50, 52%, 73%)
HSVhsv(50, 32%, 87%)
CMYKcmyk(0%, 5.4%, 32.4%, 12.9%)
CIE-LABlab(83.88, -4.76, 31.29)
CIE-LCHlch(83.88, 31.65, 98.64°)
OKLaboklab(85.93% -0.0112 0.0781)
OKLCHoklch(85.93% 0.079 98.2)
XYZxyz(58.6765, 63.8263, 38.0770)
Luminance0.6382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED296 #96A2DE
analogous
#DEAE96 #DED296 #C6DE96
triadic
#DED296 #96DED2 #D296DE
tetradic
#DED296 #96DEAE #96A2DE #DE96C6
square
#DED296 #96DEAE #96A2DE #DE96C6
split-complementary
#DED296 #96C6DE #AE96DE
monochromatic
#BEA83C #CFBE67 #DED296 #EDE6C5 #F8F5E8

Accessibility & contrast

On white

1.53
#DED296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#DED296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED296
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED296#FFFFFF#000000##000000
##DED2961.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF92
Deuteranopia (green-blind)
#E1D398
Tritanopia (blue-blind)
#E9CAC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded296;
/* rgb */ color: rgb(222, 210, 150);
/* oklch */ color: oklch(85.9% 0.079 98.2);
Tailwind
colors: {
  custom: {
    50: '#e9dfb5',
    500: '#ded296',
    950: '#000000',
  },
}
SCSS
$custom: #ded296;
$custom-light: #e9dfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ded296",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 150
  },
  "hsl": {
    "h": 50,
    "s": 52.174,
    "l": 72.941
  },
  "oklch": {
    "l": 0.85935,
    "c": 0.07886,
    "h": 98.2
  },
  "luminance": 0.63825
}

Semantic roles & 50–950 ramp

primary
#DED296
secondary
#6270B6
accent
#40C026
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DED296

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

Preview Lab → · Contrast checker → · Palette generator →

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