#DED38D#DED38D

#DED38D is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 86.0% C 0.090 H 100.4°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#DED38D
RGBrgb(222, 211, 141)
HSLhsl(52, 55%, 71%)
HSVhsv(52, 36%, 87%)
CMYKcmyk(0%, 5%, 36.5%, 12.9%)
CIE-LABlab(83.99, -6.33, 36.06)
CIE-LCHlch(83.99, 36.61, 99.96°)
OKLaboklab(85.98% -0.0163 0.0889)
OKLCHoklch(85.98% 0.09 100.4)
XYZxyz(58.2271, 64.0428, 34.4884)
Luminance0.6404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED38D #8D98DE
analogous
#DEAA8D #DED38D #C0DE8D
triadic
#DED38D #8DDED3 #D38DDE
tetradic
#DED38D #8DDEAA #8D98DE #DE8DC0
square
#DED38D #8DDEAA #8D98DE #DE8DC0
split-complementary
#DED38D #8DC0DE #AA8DDE
monochromatic
#BBA936 #D0C15E #DED38D #ECE5BC #F8F6E7

Accessibility & contrast

On white

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

On black

13.81
#DED38D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED38D
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED38D#FFFFFF#000000##000000
##DED38D1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CF88
Deuteranopia (green-blind)
#E3D490
Tritanopia (blue-blind)
#EACAC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded38d;
/* rgb */ color: rgb(222, 211, 141);
/* oklch */ color: oklch(86.0% 0.090 100.4);
Tailwind
colors: {
  custom: {
    50: '#e9e0af',
    500: '#ded38d',
    950: '#000000',
  },
}
SCSS
$custom: #ded38d;
$custom-light: #e9e0af;
$custom-dark: #000000;
JSON
{
  "hex": "#ded38d",
  "rgb": {
    "r": 222,
    "g": 211,
    "b": 141
  },
  "hsl": {
    "h": 51.852,
    "s": 55.102,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85977,
    "c": 0.0904,
    "h": 100.4
  },
  "luminance": 0.64041
}

Semantic roles & 50–950 ramp

primary
#DED38D
secondary
#5A66B6
accent
#39C323
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED38D

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

Preview Lab → · Contrast checker → · Palette generator →

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