#DEDE7D#DEDE7D

#DEDE7D is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.0% C 0.120 H 108.6°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#DEDE7D
RGBrgb(222, 222, 125)
HSLhsl(60, 60%, 68%)
HSVhsv(60, 44%, 87%)
CMYKcmyk(0%, 0%, 43.7%, 12.9%)
CIE-LABlab(86.63, -13.57, 47.38)
CIE-LCHlch(86.63, 49.28, 105.99°)
OKLaboklab(88% -0.0384 0.1138)
OKLCHoklch(88% 0.12 108.6)
XYZxyz(59.9482, 69.2541, 29.6075)
Luminance0.6925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDE7D #7D7DDE
analogous
#DEAD7D #DEDE7D #ADDE7D
triadic
#DEDE7D #7DDEDE #DE7DDE
tetradic
#DEDE7D #7DDEAD #7D7DDE #DE7DAD
square
#DEDE7D #7DDEAD #7D7DDE #DE7DAD
split-complementary
#DEDE7D #7DADDE #AD7DDE
monochromatic
#B3B32D #D2D24C #DEDE7D #EAEAAE #F7F7DF

Accessibility & contrast

On white

1.41
#DEDE7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#DEDE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDE7D
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDE7D#FFFFFF#000000##000000
##DEDE7D1.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD775
Deuteranopia (green-blind)
#EDDB82
Tritanopia (blue-blind)
#EAD3C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dede7d;
/* rgb */ color: rgb(222, 222, 125);
/* oklch */ color: oklch(88.0% 0.120 108.6);
Tailwind
colors: {
  custom: {
    50: '#eae8a4',
    500: '#dede7d',
    950: '#000000',
  },
}
SCSS
$custom: #dede7d;
$custom-light: #eae8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dede7d",
  "rgb": {
    "r": 222,
    "g": 222,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88,
    "c": 0.12007,
    "h": 108.6
  },
  "luminance": 0.69253
}

Semantic roles & 50–950 ramp

primary
#DEDE7D
secondary
#4B4BB5
accent
#1EC71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #DEDE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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