#DED251#DED251

#DED251 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.0% C 0.148 H 104.0°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#DED251
RGBrgb(222, 210, 81)
HSLhsl(55, 68%, 59%)
HSVhsv(55, 64%, 87%)
CMYKcmyk(0%, 5.4%, 63.5%, 12.9%)
CIE-LABlab(83.03, -11.06, 63.23)
CIE-LCHlch(83.03, 64.19, 99.92°)
OKLaboklab(84.99% -0.0358 0.1434)
OKLCHoklch(84.99% 0.148 104)
XYZxyz(54.6581, 62.2189, 16.9133)
Luminance0.6222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED251 #515DDE
analogous
#DE8C51 #DED251 #A3DE51
triadic
#DED251 #51DED2 #D251DE
tetradic
#DED251 #51DE8C #515DDE #DE51A3
square
#DED251 #51DE8C #515DDE #DE51A3
split-complementary
#DED251 #51A3DE #8C51DE
monochromatic
#988D1D #CBBD27 #DED251 #E8DF84 #F2EDB8

Accessibility & contrast

On white

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

On black

13.44
#DED251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED251
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED251#FFFFFF#000000##000000
##DED2511.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB41
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#EEC4B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ded251;
/* rgb */ color: rgb(222, 210, 81);
/* oklch */ color: oklch(85.0% 0.148 104.0);
Tailwind
colors: {
  custom: {
    50: '#ebdf88',
    500: '#ded251',
    950: '#000000',
  },
}
SCSS
$custom: #ded251;
$custom-light: #ebdf88;
$custom-dark: #000000;
JSON
{
  "hex": "#ded251",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 54.894,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8499,
    "c": 0.14782,
    "h": 104
  },
  "luminance": 0.62217
}

Semantic roles & 50–950 ramp

primary
#DED251
secondary
#37409C
accent
#4CEB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED251

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

Preview Lab → · Contrast checker → · Palette generator →

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