#DED257#DED257

#DED257 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.0% C 0.143 H 103.7°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#DED257
RGBrgb(222, 210, 87)
HSLhsl(55, 67%, 61%)
HSVhsv(55, 61%, 87%)
CMYKcmyk(0%, 5.4%, 60.8%, 12.9%)
CIE-LABlab(83.08, -10.68, 60.75)
CIE-LCHlch(83.08, 61.69, 99.97°)
OKLaboklab(85.05% -0.034 0.139)
OKLCHoklch(85.05% 0.143 103.7)
XYZxyz(54.8931, 62.3129, 18.1511)
Luminance0.6231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED257 #5763DE
analogous
#DE8F57 #DED257 #A6DE57
triadic
#DED257 #57DED2 #D257DE
tetradic
#DED257 #57DE8F #5763DE #DE57A6
square
#DED257 #57DE8F #5763DE #DE57A6
split-complementary
#DED257 #57A6DE #8F57DE
monochromatic
#9C911F #CFC029 #DED257 #E8E08A #F2EDBD

Accessibility & contrast

On white

1.56
#DED257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#DED257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED257
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED257#FFFFFF#000000##000000
##DED2571.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB49
Deuteranopia (green-blind)
#E7D25E
Tritanopia (blue-blind)
#EDC5B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ded257;
/* rgb */ color: rgb(222, 210, 87);
/* oklch */ color: oklch(85.0% 0.143 103.7);
Tailwind
colors: {
  custom: {
    50: '#ebdf8b',
    500: '#ded257',
    950: '#000000',
  },
}
SCSS
$custom: #ded257;
$custom-light: #ebdf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ded257",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 54.667,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85046,
    "c": 0.14313,
    "h": 103.7
  },
  "luminance": 0.62311
}

Semantic roles & 50–950 ramp

primary
#DED257
secondary
#3A43A0
accent
#27CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED257

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

Preview Lab → · Contrast checker → · Palette generator →

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