#DED255#DED255

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

Color values

HEX#DED255
RGBrgb(222, 210, 85)
HSLhsl(55, 67%, 60%)
HSVhsv(55, 62%, 87%)
CMYKcmyk(0%, 5.4%, 61.7%, 12.9%)
CIE-LABlab(83.06, -10.81, 61.59)
CIE-LCHlch(83.06, 62.53, 99.96°)
OKLaboklab(85.03% -0.0346 0.1405)
OKLCHoklch(85.03% 0.145 103.8)
XYZxyz(54.8125, 62.2807, 17.7267)
Luminance0.6228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED255 #5561DE
analogous
#DE8E55 #DED255 #A5DE55
triadic
#DED255 #55DED2 #D255DE
tetradic
#DED255 #55DE8E #5561DE #DE55A5
square
#DED255 #55DE8E #5561DE #DE55A5
split-complementary
#DED255 #55A5DE #8E55DE
monochromatic
#9B901E #CEBF28 #DED255 #E8E088 #F2EDBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED255#FFFFFF#000000##000000
##DED2551.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)
#E3CB46
Deuteranopia (green-blind)
#E7D25C
Tritanopia (blue-blind)
#EEC5B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ded255;
/* rgb */ color: rgb(222, 210, 85);
/* oklch */ color: oklch(85.0% 0.145 103.8);
Tailwind
colors: {
  custom: {
    50: '#ebdf8a',
    500: '#ded255',
    950: '#000000',
  },
}
SCSS
$custom: #ded255;
$custom-light: #ebdf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ded255",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 54.745,
    "s": 67.488,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85027,
    "c": 0.14473,
    "h": 103.8
  },
  "luminance": 0.62279
}

Semantic roles & 50–950 ramp

primary
#DED255
secondary
#39429E
accent
#26CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED255

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

Preview Lab → · Contrast checker → · Palette generator →

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