#DEDE5C#DEDE5C

#DEDE5C is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.6% C 0.151 H 109.1°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#DEDE5C
RGBrgb(222, 222, 92)
HSLhsl(60, 66%, 62%)
HSVhsv(60, 59%, 87%)
CMYKcmyk(0%, 0%, 58.6%, 12.9%)
CIE-LABlab(86.28, -16.32, 62.11)
CIE-LCHlch(86.28, 64.22, 104.73°)
OKLaboklab(87.61% -0.0495 0.1426)
OKLCHoklch(87.61% 0.151 109.1)
XYZxyz(58.1789, 68.5464, 20.2892)
Luminance0.6855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDE5C #5C5CDE
analogous
#DE9D5C #DEDE5C #9DDE5C
triadic
#DEDE5C #5CDEDE #DE5CDE
tetradic
#DEDE5C #5CDE9D #5C5CDE #DE5C9D
square
#DEDE5C #5CDE9D #5C5CDE #DE5C9D
split-complementary
#DEDE5C #5C9DDE #9D5CDE
monochromatic
#9F9F20 #D2D22B #DEDE5C #E8E88F #F3F3C2

Accessibility & contrast

On white

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

On black

14.71
#DEDE5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDE5C
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDE5C#FFFFFF#000000##000000
##DEDE5C1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54D
Deuteranopia (green-blind)
#F0DA64
Tritanopia (blue-blind)
#ECD1C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dede5c;
/* rgb */ color: rgb(222, 222, 92);
/* oklch */ color: oklch(87.6% 0.151 109.1);
Tailwind
colors: {
  custom: {
    50: '#ebe88f',
    500: '#dede5c',
    950: '#000000',
  },
}
SCSS
$custom: #dede5c;
$custom-light: #ebe88f;
$custom-dark: #000000;
JSON
{
  "hex": "#dede5c",
  "rgb": {
    "r": 222,
    "g": 222,
    "b": 92
  },
  "hsl": {
    "h": 60,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87608,
    "c": 0.15092,
    "h": 109.1
  },
  "luminance": 0.68545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEDE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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