#DED28C#DED28C

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

Color values

HEX#DED28C
RGBrgb(222, 210, 140)
HSLhsl(51, 55%, 71%)
HSVhsv(51, 37%, 87%)
CMYKcmyk(0%, 5.4%, 36.9%, 12.9%)
CIE-LABlab(83.71, -5.93, 36.21)
CIE-LCHlch(83.71, 36.70, 99.31°)
OKLaboklab(85.76% -0.0152 0.0892)
OKLCHoklch(85.76% 0.091 99.7)
XYZxyz(57.9054, 63.5178, 34.0157)
Luminance0.6352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED28C #8C98DE
analogous
#DEA98C #DED28C #C1DE8C
triadic
#DED28C #8CDED2 #D28CDE
tetradic
#DED28C #8CDEA9 #8C98DE #DE8CC1
square
#DED28C #8CDEA9 #8C98DE #DE8CC1
split-complementary
#DED28C #8CC1DE #A98CDE
monochromatic
#BAA735 #D0BF5C #DED28C #ECE5BC #F8F6E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED28C#FFFFFF#000000##000000
##DED28C1.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)
#DFCE87
Deuteranopia (green-blind)
#E2D38F
Tritanopia (blue-blind)
#EAC9C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded28c;
/* rgb */ color: rgb(222, 210, 140);
/* oklch */ color: oklch(85.8% 0.091 99.7);
Tailwind
colors: {
  custom: {
    50: '#e9dfae',
    500: '#ded28c',
    950: '#000000',
  },
}
SCSS
$custom: #ded28c;
$custom-light: #e9dfae;
$custom-dark: #000000;
JSON
{
  "hex": "#ded28c",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 140
  },
  "hsl": {
    "h": 51.22,
    "s": 55.405,
    "l": 70.98
  },
  "oklch": {
    "l": 0.85755,
    "c": 0.09052,
    "h": 99.7
  },
  "luminance": 0.63516
}

Semantic roles & 50–950 ramp

primary
#DED28C
secondary
#5966B6
accent
#3AC323
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED28C

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

Preview Lab → · Contrast checker → · Palette generator →

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