#DEDD4F#DEDD4F

#DEDD4F is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.3% C 0.160 H 108.9°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#DEDD4F
RGBrgb(222, 221, 79)
HSLhsl(60, 68%, 59%)
HSVhsv(60, 64%, 87%)
CMYKcmyk(0%, 0.5%, 64.4%, 12.9%)
CIE-LABlab(85.91, -16.65, 67.05)
CIE-LCHlch(85.91, 69.09, 103.95°)
OKLaboklab(87.28% -0.0518 0.1512)
OKLCHoklch(87.28% 0.16 108.9)
XYZxyz(57.3938, 67.8087, 17.4607)
Luminance0.6781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDD4F #4F50DE
analogous
#DE964F #DEDD4F #98DE4F
triadic
#DEDD4F #4FDEDD #DD4FDE
tetradic
#DEDD4F #4FDE96 #4F50DE #DE4F98
square
#DEDD4F #4FDE96 #4F50DE #DE4F98
split-complementary
#DEDD4F #4F98DE #964FDE
monochromatic
#96961C #CAC926 #DEDD4F #E8E783 #F1F1B6

Accessibility & contrast

On white

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

On black

14.56
#DEDD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDD4F
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDD4F#FFFFFF#000000##000000
##DEDD4F1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43C
Deuteranopia (green-blind)
#F0D958
Tritanopia (blue-blind)
#EDCFC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedd4f;
/* rgb */ color: rgb(222, 221, 79);
/* oklch */ color: oklch(87.3% 0.160 108.9);
Tailwind
colors: {
  custom: {
    50: '#ece787',
    500: '#dedd4f',
    950: '#000000',
  },
}
SCSS
$custom: #dedd4f;
$custom-light: #ece787;
$custom-dark: #000000;
JSON
{
  "hex": "#dedd4f",
  "rgb": {
    "r": 222,
    "g": 221,
    "b": 79
  },
  "hsl": {
    "h": 59.58,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8728,
    "c": 0.15981,
    "h": 108.9
  },
  "luminance": 0.67807
}

Semantic roles & 50–950 ramp

primary
#DEDD4F
secondary
#37379B
accent
#3EEB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DEDD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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