#DED38E#DED38E

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

Color values

HEX#DED38E
RGBrgb(222, 211, 142)
HSLhsl(52, 55%, 71%)
HSVhsv(52, 36%, 87%)
CMYKcmyk(0%, 5%, 36%, 12.9%)
CIE-LABlab(84.00, -6.22, 35.57)
CIE-LCHlch(84.00, 36.11, 99.91°)
OKLaboklab(85.99% -0.0159 0.0878)
OKLCHoklch(85.99% 0.089 100.3)
XYZxyz(58.3018, 64.0727, 34.8820)
Luminance0.6407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED38E #8E99DE
analogous
#DEAB8E #DED38E #C1DE8E
triadic
#DED38E #8EDED3 #D38EDE
tetradic
#DED38E #8EDEAB #8E99DE #DE8EC1
square
#DED38E #8EDEAB #8E99DE #DE8EC1
split-complementary
#DED38E #8EC1DE #AB8EDE
monochromatic
#BBA937 #D0C15F #DED38E #ECE5BD #F8F6E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED38E#FFFFFF#000000##000000
##DED38E1.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)
#DFCF89
Deuteranopia (green-blind)
#E3D491
Tritanopia (blue-blind)
#E9CAC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded38e;
/* rgb */ color: rgb(222, 211, 142);
/* oklch */ color: oklch(86.0% 0.089 100.3);
Tailwind
colors: {
  custom: {
    50: '#e9e0b0',
    500: '#ded38e',
    950: '#000000',
  },
}
SCSS
$custom: #ded38e;
$custom-light: #e9e0b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ded38e",
  "rgb": {
    "r": 222,
    "g": 211,
    "b": 142
  },
  "hsl": {
    "h": 51.75,
    "s": 54.795,
    "l": 71.373
  },
  "oklch": {
    "l": 0.85994,
    "c": 0.08925,
    "h": 100.3
  },
  "luminance": 0.64071
}

Semantic roles & 50–950 ramp

primary
#DED38E
secondary
#5A67B6
accent
#39C223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED38E

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

Preview Lab → · Contrast checker → · Palette generator →

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