#DEDC5D#DEDC5D

#DEDC5D is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.2% C 0.148 H 108.3°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#DEDC5D
RGBrgb(222, 220, 93)
HSLhsl(59, 66%, 62%)
HSVhsv(59, 58%, 87%)
CMYKcmyk(0%, 0.9%, 58.1%, 12.9%)
CIE-LABlab(85.76, -15.27, 61.11)
CIE-LCHlch(85.76, 62.99, 104.03°)
OKLaboklab(87.2% -0.0464 0.1406)
OKLCHoklch(87.2% 0.148 108.3)
XYZxyz(57.6949, 67.5079, 20.3450)
Luminance0.6751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC5D #5D5FDE
analogous
#DE9C5D #DEDC5D #A0DE5D
triadic
#DEDC5D #5DDEDC #DC5DDE
tetradic
#DEDC5D #5DDE9C #5D5FDE #DE5DA0
square
#DEDC5D #5DDE9C #5D5FDE #DE5DA0
split-complementary
#DEDC5D #5DA0DE #9C5DDE
monochromatic
#A09E21 #D3D02B #DEDC5D #E8E790 #F3F2C3

Accessibility & contrast

On white

1.45
#DEDC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#DEDC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC5D
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC5D#FFFFFF#000000##000000
##DEDC5D1.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD44F
Deuteranopia (green-blind)
#EFD964
Tritanopia (blue-blind)
#ECCFC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc5d;
/* rgb */ color: rgb(222, 220, 93);
/* oklch */ color: oklch(87.2% 0.148 108.3);
Tailwind
colors: {
  custom: {
    50: '#ebe690',
    500: '#dedc5d',
    950: '#000000',
  },
}
SCSS
$custom: #dedc5d;
$custom-light: #ebe690;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc5d",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 59.07,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.87196,
    "c": 0.14803,
    "h": 108.3
  },
  "luminance": 0.67506
}

Semantic roles & 50–950 ramp

primary
#DEDC5D
secondary
#3C3EA3
accent
#1ACE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DEDC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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