#DEDD5F#DEDD5F

#DEDD5F is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.4% C 0.147 H 108.7°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#DEDD5F
RGBrgb(222, 221, 95)
HSLhsl(60, 66%, 62%)
HSVhsv(60, 57%, 87%)
CMYKcmyk(0%, 0.5%, 57.2%, 12.9%)
CIE-LABlab(86.04, -15.62, 60.55)
CIE-LCHlch(86.04, 62.54, 104.46°)
OKLaboklab(87.43% -0.0472 0.1396)
OKLCHoklch(87.43% 0.147 108.7)
XYZxyz(58.0479, 68.0703, 20.9053)
Luminance0.6807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDD5F #5F60DE
analogous
#DE9E5F #DEDD5F #9FDE5F
triadic
#DEDD5F #5FDEDD #DD5FDE
tetradic
#DEDD5F #5FDE9E #5F60DE #DE5F9F
square
#DEDD5F #5FDE9E #5F60DE #DE5F9F
split-complementary
#DEDD5F #5F9FDE #9E5FDE
monochromatic
#A1A021 #D4D22C #DEDD5F #E8E892 #F3F3C4

Accessibility & contrast

On white

1.44
#DEDD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#DEDD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDD5F
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDD5F#FFFFFF#000000##000000
##DEDD5F1.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD551
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#ECD0C2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedd5f;
/* rgb */ color: rgb(222, 221, 95);
/* oklch */ color: oklch(87.4% 0.147 108.7);
Tailwind
colors: {
  custom: {
    50: '#ebe791',
    500: '#dedd5f',
    950: '#000000',
  },
}
SCSS
$custom: #dedd5f;
$custom-light: #ebe791;
$custom-dark: #000000;
JSON
{
  "hex": "#dedd5f",
  "rgb": {
    "r": 222,
    "g": 221,
    "b": 95
  },
  "hsl": {
    "h": 59.528,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87427,
    "c": 0.1474,
    "h": 108.7
  },
  "luminance": 0.68069
}

Semantic roles & 50–950 ramp

primary
#DEDD5F
secondary
#3D3EA4
accent
#19CE18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DEDD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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