#DEDC5A#DEDC5A

#DEDC5A is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.2% C 0.150 H 108.3°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#DEDC5A
RGBrgb(222, 220, 90)
HSLhsl(59, 67%, 61%)
HSVhsv(59, 59%, 87%)
CMYKcmyk(0%, 0.9%, 59.5%, 12.9%)
CIE-LABlab(85.73, -15.47, 62.36)
CIE-LCHlch(85.73, 64.25, 103.93°)
OKLaboklab(87.17% -0.0473 0.1429)
OKLCHoklch(87.17% 0.15 108.3)
XYZxyz(57.5646, 67.4558, 19.6588)
Luminance0.6745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC5A #5A5CDE
analogous
#DE9A5A #DEDC5A #9EDE5A
triadic
#DEDC5A #5ADEDC #DC5ADE
tetradic
#DEDC5A #5ADE9A #5A5CDE #DE5A9E
square
#DEDC5A #5ADE9A #5A5CDE #DE5A9E
split-complementary
#DEDC5A #5A9EDE #9A5ADE
monochromatic
#9E9C20 #D1CE2A #DEDC5A #E8E78D #F2F2C0

Accessibility & contrast

On white

1.45
#DEDC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#DEDC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC5A
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC5A#FFFFFF#000000##000000
##DEDC5A1.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44B
Deuteranopia (green-blind)
#EFD962
Tritanopia (blue-blind)
#EDCFC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc5a;
/* rgb */ color: rgb(222, 220, 90);
/* oklch */ color: oklch(87.2% 0.150 108.3);
Tailwind
colors: {
  custom: {
    50: '#ebe68e',
    500: '#dedc5a',
    950: '#000000',
  },
}
SCSS
$custom: #dedc5a;
$custom-light: #ebe68e;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc5a",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 59.091,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87167,
    "c": 0.15048,
    "h": 108.3
  },
  "luminance": 0.67454
}

Semantic roles & 50–950 ramp

primary
#DEDC5A
secondary
#3B3CA1
accent
#1ACF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DEDC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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