#DEDD7B#DEDD7B

#DEDD7B is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.8% C 0.121 H 108.1°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#DEDD7B
RGBrgb(222, 221, 123)
HSLhsl(59, 60%, 68%)
HSVhsv(59, 45%, 87%)
CMYKcmyk(0%, 0.5%, 44.6%, 12.9%)
CIE-LABlab(86.34, -13.27, 47.99)
CIE-LCHlch(86.34, 49.79, 105.46°)
OKLaboklab(87.76% -0.0377 0.115)
OKLCHoklch(87.76% 0.121 108.1)
XYZxyz(59.5570, 68.6739, 28.8531)
Luminance0.6867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDD7B #7B7CDE
analogous
#DEAB7B #DEDD7B #ADDE7B
triadic
#DEDD7B #7BDEDD #DD7BDE
tetradic
#DEDD7B #7BDEAB #7B7CDE #DE7BAD
square
#DEDD7B #7BDEAB #7B7CDE #DE7BAD
split-complementary
#DEDD7B #7BADDE #AB7BDE
monochromatic
#B2B12D #D2D04A #DEDD7B #EAEAAC #F6F6DD

Accessibility & contrast

On white

1.43
#DEDD7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#DEDD7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDD7B
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDD7B#FFFFFF#000000##000000
##DEDD7B1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD673
Deuteranopia (green-blind)
#EDDA80
Tritanopia (blue-blind)
#EAD2C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dedd7b;
/* rgb */ color: rgb(222, 221, 123);
/* oklch */ color: oklch(87.8% 0.121 108.1);
Tailwind
colors: {
  custom: {
    50: '#eae7a3',
    500: '#dedd7b',
    950: '#000000',
  },
}
SCSS
$custom: #dedd7b;
$custom-light: #eae7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dedd7b",
  "rgb": {
    "r": 222,
    "g": 221,
    "b": 123
  },
  "hsl": {
    "h": 59.394,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87764,
    "c": 0.12103,
    "h": 108.1
  },
  "luminance": 0.68673
}

Semantic roles & 50–950 ramp

primary
#DEDD7B
secondary
#494BB4
accent
#20C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #DEDD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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