#DED38B#DED38B

#DED38B is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.9% C 0.093 H 100.6°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#DED38B
RGBrgb(222, 211, 139)
HSLhsl(52, 56%, 71%)
HSVhsv(52, 37%, 87%)
CMYKcmyk(0%, 5%, 37.4%, 12.9%)
CIE-LABlab(83.96, -6.56, 37.04)
CIE-LCHlch(83.96, 37.61, 100.04°)
OKLaboklab(85.94% -0.0171 0.0911)
OKLCHoklch(85.94% 0.093 100.6)
XYZxyz(58.0796, 63.9838, 33.7117)
Luminance0.6398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED38B #8B96DE
analogous
#DEA98B #DED38B #BFDE8B
triadic
#DED38B #8BDED3 #D38BDE
tetradic
#DED38B #8BDEA9 #8B96DE #DE8BBF
square
#DED38B #8BDEA9 #8B96DE #DE8BBF
split-complementary
#DED38B #8BBFDE #A98BDE
monochromatic
#BAA835 #D0C15B #DED38B #ECE5BB #F8F6E7

Accessibility & contrast

On white

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

On black

13.80
#DED38B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED38B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED38B#FFFFFF#000000##000000
##DED38B1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CF86
Deuteranopia (green-blind)
#E3D48E
Tritanopia (blue-blind)
#EAC9C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded38b;
/* rgb */ color: rgb(222, 211, 139);
/* oklch */ color: oklch(85.9% 0.093 100.6);
Tailwind
colors: {
  custom: {
    50: '#e9e0ad',
    500: '#ded38b',
    950: '#000000',
  },
}
SCSS
$custom: #ded38b;
$custom-light: #e9e0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ded38b",
  "rgb": {
    "r": 222,
    "g": 211,
    "b": 139
  },
  "hsl": {
    "h": 52.048,
    "s": 55.705,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85942,
    "c": 0.09269,
    "h": 100.6
  },
  "luminance": 0.63982
}

Semantic roles & 50–950 ramp

primary
#DED38B
secondary
#5864B6
accent
#38C322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED38B

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

Preview Lab → · Contrast checker → · Palette generator →

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