#DEDC5E#DEDC5E

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

Color values

HEX#DEDC5E
RGBrgb(222, 220, 94)
HSLhsl(59, 66%, 62%)
HSVhsv(59, 58%, 87%)
CMYKcmyk(0%, 0.9%, 57.7%, 12.9%)
CIE-LABlab(85.77, -15.20, 60.69)
CIE-LCHlch(85.77, 62.56, 104.06°)
OKLaboklab(87.21% -0.0461 0.1398)
OKLCHoklch(87.21% 0.147 108.3)
XYZxyz(57.7395, 67.5258, 20.5797)
Luminance0.6752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC5E #5E60DE
analogous
#DE9C5E #DEDC5E #A0DE5E
triadic
#DEDC5E #5EDEDC #DC5EDE
tetradic
#DEDC5E #5EDE9C #5E60DE #DE5EA0
square
#DEDC5E #5EDE9C #5E60DE #DE5EA0
split-complementary
#DEDC5E #5EA0DE #9C5EDE
monochromatic
#A19F21 #D3D12B #DEDC5E #E8E791 #F3F2C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEDC5E#FFFFFF#000000##000000
##DEDC5E1.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)
#ECD450
Deuteranopia (green-blind)
#EED965
Tritanopia (blue-blind)
#ECCFC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc5e;
/* rgb */ color: rgb(222, 220, 94);
/* oklch */ color: oklch(87.2% 0.147 108.3);
Tailwind
colors: {
  custom: {
    50: '#ebe690',
    500: '#dedc5e',
    950: '#000000',
  },
}
SCSS
$custom: #dedc5e;
$custom-light: #ebe690;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc5e",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 94
  },
  "hsl": {
    "h": 59.063,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87206,
    "c": 0.1472,
    "h": 108.3
  },
  "luminance": 0.67524
}

Semantic roles & 50–950 ramp

primary
#DEDC5E
secondary
#3C3EA4
accent
#1BCE18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DEDC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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