#DED875#DED875

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

Color values

HEX#DED875
RGBrgb(222, 216, 117)
HSLhsl(57, 61%, 66%)
HSVhsv(57, 47%, 87%)
CMYKcmyk(0%, 2.7%, 47.3%, 12.9%)
CIE-LABlab(84.96, -11.33, 49.19)
CIE-LCHlch(84.96, 50.48, 102.97°)
OKLaboklab(86.64% -0.0327 0.1172)
OKLCHoklch(86.64% 0.122 105.6)
XYZxyz(57.8923, 65.9273, 26.5018)
Luminance0.6593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED875 #757BDE
analogous
#DEA475 #DED875 #B0DE75
triadic
#DED875 #75DED8 #D875DE
tetradic
#DED875 #75DEA4 #757BDE #DE75B0
square
#DED875 #75DEA4 #757BDE #DE75B0
split-complementary
#DED875 #75B0DE #A475DE
monochromatic
#AFA72A #D2CA44 #DED875 #EAE6A6 #F6F4D8

Accessibility & contrast

On white

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

On black

14.19
#DED875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED875
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED875#FFFFFF#000000##000000
##DED8751.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ded875;
/* rgb */ color: rgb(222, 216, 117);
/* oklch */ color: oklch(86.6% 0.122 105.6);
Tailwind
colors: {
  custom: {
    50: '#eae39f',
    500: '#ded875',
    950: '#000000',
  },
}
SCSS
$custom: #ded875;
$custom-light: #eae39f;
$custom-dark: #000000;
JSON
{
  "hex": "#ded875",
  "rgb": {
    "r": 222,
    "g": 216,
    "b": 117
  },
  "hsl": {
    "h": 56.571,
    "s": 61.404,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8664,
    "c": 0.12171,
    "h": 105.6
  },
  "luminance": 0.65926
}

Semantic roles & 50–950 ramp

primary
#DED875
secondary
#464DB1
accent
#26C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED875

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

Preview Lab → · Contrast checker → · Palette generator →

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