#DEDD5B#DEDD5B

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

Color values

HEX#DEDD5B
RGBrgb(222, 221, 91)
HSLhsl(60, 66%, 61%)
HSVhsv(60, 59%, 87%)
CMYKcmyk(0%, 0.5%, 59%, 12.9%)
CIE-LABlab(86.01, -15.90, 62.24)
CIE-LCHlch(86.01, 64.23, 104.33°)
OKLaboklab(87.39% -0.0484 0.1427)
OKLCHoklch(87.39% 0.151 108.7)
XYZxyz(57.8707, 67.9994, 19.9723)
Luminance0.6800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDD5B #5B5CDE
analogous
#DE9C5B #DEDD5B #9EDE5B
triadic
#DEDD5B #5BDEDD #DD5BDE
tetradic
#DEDD5B #5BDE9C #5B5CDE #DE5B9E
square
#DEDD5B #5BDE9C #5B5CDE #DE5B9E
split-complementary
#DEDD5B #5B9EDE #9C5BDE
monochromatic
#9F9E20 #D2D02A #DEDD5B #E8E88E #F3F2C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEDD5B#FFFFFF#000000##000000
##DEDD5B1.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)
#EDD54C
Deuteranopia (green-blind)
#EFD963
Tritanopia (blue-blind)
#EDD0C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedd5b;
/* rgb */ color: rgb(222, 221, 91);
/* oklch */ color: oklch(87.4% 0.151 108.7);
Tailwind
colors: {
  custom: {
    50: '#ebe78e',
    500: '#dedd5b',
    950: '#000000',
  },
}
SCSS
$custom: #dedd5b;
$custom-light: #ebe78e;
$custom-dark: #000000;
JSON
{
  "hex": "#dedd5b",
  "rgb": {
    "r": 222,
    "g": 221,
    "b": 91
  },
  "hsl": {
    "h": 59.542,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87387,
    "c": 0.1507,
    "h": 108.7
  },
  "luminance": 0.67998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEDD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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