#DED299#DED299

#DED299 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 86.0% C 0.075 H 97.7°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#DED299
RGBrgb(222, 210, 153)
HSLhsl(50, 51%, 74%)
HSVhsv(50, 31%, 87%)
CMYKcmyk(0%, 5.4%, 31.1%, 12.9%)
CIE-LABlab(83.93, -4.38, 29.81)
CIE-LCHlch(83.93, 30.13, 98.37°)
OKLaboklab(85.99% -0.01 0.0746)
OKLCHoklch(85.99% 0.075 97.7)
XYZxyz(58.9212, 63.9241, 39.3656)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED299 #99A5DE
analogous
#DEAF99 #DED299 #C7DE99
triadic
#DED299 #99DED2 #D299DE
tetradic
#DED299 #99DEAF #99A5DE #DE99C7
square
#DED299 #99DEAF #99A5DE #DE99C7
split-complementary
#DED299 #99C7DE #AF99DE
monochromatic
#BFA83E #CFBE6B #DED299 #EDE6C7 #F8F5E8

Accessibility & contrast

On white

1.52
#DED299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#DED299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED299
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED299#FFFFFF#000000##000000
##DED2991.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCF95
Deuteranopia (green-blind)
#E1D39B
Tritanopia (blue-blind)
#E8CAC3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded299;
/* rgb */ color: rgb(222, 210, 153);
/* oklch */ color: oklch(86.0% 0.075 97.7);
Tailwind
colors: {
  custom: {
    50: '#e9dfb7',
    500: '#ded299',
    950: '#000000',
  },
}
SCSS
$custom: #ded299;
$custom-light: #e9dfb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ded299",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 153
  },
  "hsl": {
    "h": 49.565,
    "s": 51.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.85992,
    "c": 0.07528,
    "h": 97.7
  },
  "luminance": 0.63923
}

Semantic roles & 50–950 ramp

primary
#DED299
secondary
#6573B6
accent
#41BE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DED299

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

Preview Lab → · Contrast checker → · Palette generator →

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