#DEDC46#DEDC46

#DEDC46 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.0% C 0.165 H 108.6°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#DEDC46
RGBrgb(222, 220, 70)
HSLhsl(59, 70%, 57%)
HSVhsv(59, 68%, 87%)
CMYKcmyk(0%, 0.9%, 68.5%, 12.9%)
CIE-LABlab(85.58, -16.65, 70.13)
CIE-LCHlch(85.58, 72.08, 103.36°)
OKLaboklab(87% -0.0527 0.1563)
OKLCHoklch(87% 0.165 108.6)
XYZxyz(56.8249, 67.1599, 15.7630)
Luminance0.6716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC46 #4648DE
analogous
#DE9046 #DEDC46 #94DE46
triadic
#DEDC46 #46DEDC #DC46DE
tetradic
#DEDC46 #46DE90 #4648DE #DE4694
square
#DEDC46 #46DE90 #4648DE #DE4694
split-complementary
#DEDC46 #4694DE #9046DE
monochromatic
#908E1A #C4C223 #DEDC46 #E7E67A #F1F0AE

Accessibility & contrast

On white

1.46
#DEDC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#DEDC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC46
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC46#FFFFFF#000000##000000
##DEDC461.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED32E
Deuteranopia (green-blind)
#F0D851
Tritanopia (blue-blind)
#EECEBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc46;
/* rgb */ color: rgb(222, 220, 70);
/* oklch */ color: oklch(87.0% 0.165 108.6);
Tailwind
colors: {
  custom: {
    50: '#ece682',
    500: '#dedc46',
    950: '#000000',
  },
}
SCSS
$custom: #dedc46;
$custom-light: #ece682;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc46",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 70
  },
  "hsl": {
    "h": 59.211,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.87001,
    "c": 0.1649,
    "h": 108.6
  },
  "luminance": 0.67158
}

Semantic roles & 50–950 ramp

primary
#DEDC46
secondary
#333595
accent
#3EED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DEDC46

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

Preview Lab → · Contrast checker → · Palette generator →

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