#DED951#DED951

#DED951 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.5% C 0.154 H 107.2°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#DED951
RGBrgb(222, 217, 81)
HSLhsl(58, 68%, 59%)
HSVhsv(58, 64%, 87%)
CMYKcmyk(0%, 2.3%, 63.5%, 12.9%)
CIE-LABlab(84.87, -14.56, 65.17)
CIE-LCHlch(84.87, 66.78, 102.59°)
OKLaboklab(86.46% -0.0457 0.1475)
OKLCHoklch(86.46% 0.154 107.2)
XYZxyz(56.4242, 65.7512, 17.5020)
Luminance0.6575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED951 #5156DE
analogous
#DE9251 #DED951 #9DDE51
triadic
#DED951 #51DED9 #D951DE
tetradic
#DED951 #51DE92 #5156DE #DE519D
square
#DED951 #51DE92 #5156DE #DE519D
split-complementary
#DED951 #519DDE #9251DE
monochromatic
#98931D #CBC527 #DED951 #E8E484 #F2EFB8

Accessibility & contrast

On white

1.48
#DED951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#DED951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED951
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED951#FFFFFF#000000##000000
##DED9511.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13F
Deuteranopia (green-blind)
#EDD659
Tritanopia (blue-blind)
#EDCCBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded951;
/* rgb */ color: rgb(222, 217, 81);
/* oklch */ color: oklch(86.5% 0.154 107.2);
Tailwind
colors: {
  custom: {
    50: '#ebe488',
    500: '#ded951',
    950: '#000000',
  },
}
SCSS
$custom: #ded951;
$custom-light: #ebe488;
$custom-dark: #000000;
JSON
{
  "hex": "#ded951",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 57.872,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86455,
    "c": 0.15444,
    "h": 107.2
  },
  "luminance": 0.65749
}

Semantic roles & 50–950 ramp

primary
#DED951
secondary
#373B9C
accent
#43EB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED951

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

Preview Lab → · Contrast checker → · Palette generator →

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