#DED28B#DED28B

#DED28B is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.7% C 0.092 H 99.8°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#DED28B
RGBrgb(222, 210, 139)
HSLhsl(51, 56%, 71%)
HSVhsv(51, 37%, 87%)
CMYKcmyk(0%, 5.4%, 37.4%, 12.9%)
CIE-LABlab(83.70, -6.05, 36.70)
CIE-LCHlch(83.70, 37.20, 99.36°)
OKLaboklab(85.74% -0.0156 0.0903)
OKLCHoklch(85.74% 0.092 99.8)
XYZxyz(57.8320, 63.4885, 33.6292)
Luminance0.6349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED28B #8B97DE
analogous
#DEA88B #DED28B #C0DE8B
triadic
#DED28B #8BDED2 #D28BDE
tetradic
#DED28B #8BDEA8 #8B97DE #DE8BC0
square
#DED28B #8BDEA8 #8B97DE #DE8BC0
split-complementary
#DED28B #8BC0DE #A88BDE
monochromatic
#BAA735 #D0C05B #DED28B #ECE4BB #F8F6E7

Accessibility & contrast

On white

1.53
#DED28B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#DED28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED28B
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED28B#FFFFFF#000000##000000
##DED28B1.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCE86
Deuteranopia (green-blind)
#E2D38E
Tritanopia (blue-blind)
#EAC8C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded28b;
/* rgb */ color: rgb(222, 210, 139);
/* oklch */ color: oklch(85.7% 0.092 99.8);
Tailwind
colors: {
  custom: {
    50: '#e9dfad',
    500: '#ded28b',
    950: '#000000',
  },
}
SCSS
$custom: #ded28b;
$custom-light: #e9dfad;
$custom-dark: #000000;
JSON
{
  "hex": "#ded28b",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 139
  },
  "hsl": {
    "h": 51.325,
    "s": 55.705,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85738,
    "c": 0.09167,
    "h": 99.8
  },
  "luminance": 0.63487
}

Semantic roles & 50–950 ramp

primary
#DED28B
secondary
#5865B6
accent
#3AC322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED28B

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

Preview Lab → · Contrast checker → · Palette generator →

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