#DED28F#DED28F

#DED28F is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.8% C 0.087 H 99.3°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#DED28F
RGBrgb(222, 210, 143)
HSLhsl(51, 54%, 72%)
HSVhsv(51, 36%, 87%)
CMYKcmyk(0%, 5.4%, 35.6%, 12.9%)
CIE-LABlab(83.76, -5.59, 34.74)
CIE-LCHlch(83.76, 35.19, 99.14°)
OKLaboklab(85.81% -0.014 0.0859)
OKLCHoklch(85.81% 0.087 99.3)
XYZxyz(58.1296, 63.6075, 35.1966)
Luminance0.6361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED28F #8F9BDE
analogous
#DEAB8F #DED28F #C3DE8F
triadic
#DED28F #8FDED2 #D28FDE
tetradic
#DED28F #8FDEAB #8F9BDE #DE8FC3
square
#DED28F #8FDEAB #8F9BDE #DE8FC3
split-complementary
#DED28F #8FC3DE #AB8FDE
monochromatic
#BBA737 #D0BF60 #DED28F #ECE5BE #F8F6E7

Accessibility & contrast

On white

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

On black

13.72
#DED28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED28F
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED28F#FFFFFF#000000##000000
##DED28F1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECE8A
Deuteranopia (green-blind)
#E2D391
Tritanopia (blue-blind)
#E9C9C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded28f;
/* rgb */ color: rgb(222, 210, 143);
/* oklch */ color: oklch(85.8% 0.087 99.3);
Tailwind
colors: {
  custom: {
    50: '#e9dfb0',
    500: '#ded28f',
    950: '#000000',
  },
}
SCSS
$custom: #ded28f;
$custom-light: #e9dfb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ded28f",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 143
  },
  "hsl": {
    "h": 50.886,
    "s": 54.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85807,
    "c": 0.08707,
    "h": 99.3
  },
  "luminance": 0.63606
}

Semantic roles & 50–950 ramp

primary
#DED28F
secondary
#5B69B6
accent
#3CC224
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED28F

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

Preview Lab → · Contrast checker → · Palette generator →

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