#DED18D#DED18D

#DED18D is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.6% C 0.088 H 98.7°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#DED18D
RGBrgb(222, 209, 141)
HSLhsl(50, 55%, 71%)
HSVhsv(50, 36%, 87%)
CMYKcmyk(0%, 5.9%, 36.5%, 12.9%)
CIE-LABlab(83.47, -5.31, 35.39)
CIE-LCHlch(83.47, 35.78, 98.53°)
OKLaboklab(85.57% -0.0133 0.0874)
OKLCHoklch(85.57% 0.088 98.7)
XYZxyz(57.7333, 63.0552, 34.3238)
Luminance0.6305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED18D #8D9ADE
analogous
#DEA88D #DED18D #C2DE8D
triadic
#DED18D #8DDED1 #D18DDE
tetradic
#DED18D #8DDEA8 #8D9ADE #DE8DC2
square
#DED18D #8DDEA8 #8D9ADE #DE8DC2
split-complementary
#DED18D #8DC2DE #A88DDE
monochromatic
#BBA536 #D0BE5E #DED18D #ECE4BC #F8F5E7

Accessibility & contrast

On white

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

On black

13.61
#DED18D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED18D
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED18D#FFFFFF#000000##000000
##DED18D1.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECD88
Deuteranopia (green-blind)
#E1D290
Tritanopia (blue-blind)
#EAC8C0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ded18d;
/* rgb */ color: rgb(222, 209, 141);
/* oklch */ color: oklch(85.6% 0.088 98.7);
Tailwind
colors: {
  custom: {
    50: '#e9dfaf',
    500: '#ded18d',
    950: '#000000',
  },
}
SCSS
$custom: #ded18d;
$custom-light: #e9dfaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ded18d",
  "rgb": {
    "r": 222,
    "g": 209,
    "b": 141
  },
  "hsl": {
    "h": 50.37,
    "s": 55.102,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85568,
    "c": 0.08837,
    "h": 98.7
  },
  "luminance": 0.63054
}

Semantic roles & 50–950 ramp

primary
#DED18D
secondary
#5A68B6
accent
#3DC323
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED18D

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

Preview Lab → · Contrast checker → · Palette generator →

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