#DED874#DED874

#DED874 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.6% C 0.123 H 105.6°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#DED874
RGBrgb(222, 216, 116)
HSLhsl(57, 62%, 66%)
HSVhsv(57, 48%, 87%)
CMYKcmyk(0%, 2.7%, 47.7%, 12.9%)
CIE-LABlab(84.95, -11.43, 49.66)
CIE-LCHlch(84.95, 50.96, 102.96°)
OKLaboklab(86.63% -0.0331 0.1182)
OKLCHoklch(86.63% 0.123 105.6)
XYZxyz(57.8338, 65.9039, 26.1938)
Luminance0.6590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED874 #747ADE
analogous
#DEA374 #DED874 #AFDE74
triadic
#DED874 #74DED8 #D874DE
tetradic
#DED874 #74DEA3 #747ADE #DE74AF
square
#DED874 #74DEA3 #747ADE #DE74AF
split-complementary
#DED874 #74AFDE #A374DE
monochromatic
#AEA729 #D2CA43 #DED874 #EAE6A5 #F5F4D7

Accessibility & contrast

On white

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

On black

14.18
#DED874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED874
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED874#FFFFFF#000000##000000
##DED8741.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D16B
Deuteranopia (green-blind)
#EAD679
Tritanopia (blue-blind)
#EBCDC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded874;
/* rgb */ color: rgb(222, 216, 116);
/* oklch */ color: oklch(86.6% 0.123 105.6);
Tailwind
colors: {
  custom: {
    50: '#eae39e',
    500: '#ded874',
    950: '#000000',
  },
}
SCSS
$custom: #ded874;
$custom-light: #eae39e;
$custom-dark: #000000;
JSON
{
  "hex": "#ded874",
  "rgb": {
    "r": 222,
    "g": 216,
    "b": 116
  },
  "hsl": {
    "h": 56.604,
    "s": 61.628,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86627,
    "c": 0.12271,
    "h": 105.6
  },
  "luminance": 0.65902
}

Semantic roles & 50–950 ramp

primary
#DED874
secondary
#464CB0
accent
#26C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED874

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

Preview Lab → · Contrast checker → · Palette generator →

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