#DEDC5B#DEDC5B

#DEDC5B 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#DEDC5B
RGBrgb(222, 220, 91)
HSLhsl(59, 66%, 61%)
HSVhsv(59, 59%, 87%)
CMYKcmyk(0%, 0.9%, 59%, 12.9%)
CIE-LABlab(85.74, -15.40, 61.95)
CIE-LCHlch(85.74, 63.83, 103.96°)
OKLaboklab(87.18% -0.047 0.1421)
OKLCHoklch(87.18% 0.15 108.3)
XYZxyz(57.6075, 67.4730, 19.8845)
Luminance0.6747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC5B #5B5DDE
analogous
#DE9B5B #DEDC5B #9FDE5B
triadic
#DEDC5B #5BDEDC #DC5BDE
tetradic
#DEDC5B #5BDE9B #5B5DDE #DE5B9F
square
#DEDC5B #5BDE9B #5B5DDE #DE5B9F
split-complementary
#DEDC5B #5B9FDE #9B5BDE
monochromatic
#9F9D20 #D2CF2A #DEDC5B #E8E78E #F3F2C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEDC5B#FFFFFF#000000##000000
##DEDC5B1.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)
#EDD44C
Deuteranopia (green-blind)
#EFD963
Tritanopia (blue-blind)
#EDCFC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc5b;
/* rgb */ color: rgb(222, 220, 91);
/* oklch */ color: oklch(87.2% 0.150 108.3);
Tailwind
colors: {
  custom: {
    50: '#ebe68e',
    500: '#dedc5b',
    950: '#000000',
  },
}
SCSS
$custom: #dedc5b;
$custom-light: #ebe68e;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc5b",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 59.084,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87177,
    "c": 0.14967,
    "h": 108.3
  },
  "luminance": 0.67471
}

Semantic roles & 50–950 ramp

primary
#DEDC5B
secondary
#3B3DA2
accent
#1ACE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DEDC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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