#DEDD5C#DEDD5C

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

Color values

HEX#DEDD5C
RGBrgb(222, 221, 92)
HSLhsl(60, 66%, 62%)
HSVhsv(60, 59%, 87%)
CMYKcmyk(0%, 0.5%, 58.6%, 12.9%)
CIE-LABlab(86.01, -15.83, 61.82)
CIE-LCHlch(86.01, 63.81, 104.36°)
OKLaboklab(87.4% -0.0481 0.142)
OKLCHoklch(87.4% 0.15 108.7)
XYZxyz(57.9141, 68.0168, 20.2010)
Luminance0.6802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDD5C #5C5DDE
analogous
#DE9C5C #DEDD5C #9EDE5C
triadic
#DEDD5C #5CDEDD #DD5CDE
tetradic
#DEDD5C #5CDE9C #5C5DDE #DE5C9E
square
#DEDD5C #5CDE9C #5C5DDE #DE5C9E
split-complementary
#DEDD5C #5C9EDE #9C5CDE
monochromatic
#9F9E20 #D2D12B #DEDD5C #E8E88F #F3F2C2

Accessibility & contrast

On white

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

On black

14.60
#DEDD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDD5C
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDD5C#FFFFFF#000000##000000
##DEDD5C1.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD54D
Deuteranopia (green-blind)
#EFD964
Tritanopia (blue-blind)
#ECD0C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedd5c;
/* rgb */ color: rgb(222, 221, 92);
/* oklch */ color: oklch(87.4% 0.150 108.7);
Tailwind
colors: {
  custom: {
    50: '#ebe78f',
    500: '#dedd5c',
    950: '#000000',
  },
}
SCSS
$custom: #dedd5c;
$custom-light: #ebe78f;
$custom-dark: #000000;
JSON
{
  "hex": "#dedd5c",
  "rgb": {
    "r": 222,
    "g": 221,
    "b": 92
  },
  "hsl": {
    "h": 59.538,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87397,
    "c": 0.14988,
    "h": 108.7
  },
  "luminance": 0.68015
}

Semantic roles & 50–950 ramp

primary
#DEDD5C
secondary
#3C3CA3
accent
#19CE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DEDD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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