#DEDC71#DEDC71

#DEDC71 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.4% C 0.130 H 107.8°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#DEDC71
RGBrgb(222, 220, 113)
HSLhsl(59, 62%, 66%)
HSVhsv(59, 49%, 87%)
CMYKcmyk(0%, 0.9%, 49.1%, 12.9%)
CIE-LABlab(85.96, -13.69, 52.30)
CIE-LCHlch(85.96, 54.06, 104.67°)
OKLaboklab(87.42% -0.0398 0.1237)
OKLCHoklch(87.42% 0.13 107.8)
XYZxyz(58.6994, 67.9097, 25.6353)
Luminance0.6791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC71 #7173DE
analogous
#DEA571 #DEDC71 #A9DE71
triadic
#DEDC71 #71DEDC #DC71DE
tetradic
#DEDC71 #71DEA5 #7173DE #DE71A9
square
#DEDC71 #71DEA5 #7173DE #DE71A9
split-complementary
#DEDC71 #71A9DE #A571DE
monochromatic
#ADAA28 #D2D03F #DEDC71 #EAE8A3 #F5F4D4

Accessibility & contrast

On white

1.44
#DEDC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#DEDC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC71
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC71#FFFFFF#000000##000000
##DEDC711.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD567
Deuteranopia (green-blind)
#EDD976
Tritanopia (blue-blind)
#EBD0C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedc71;
/* rgb */ color: rgb(222, 220, 113);
/* oklch */ color: oklch(87.4% 0.130 107.8);
Tailwind
colors: {
  custom: {
    50: '#eae69c',
    500: '#dedc71',
    950: '#000000',
  },
}
SCSS
$custom: #dedc71;
$custom-light: #eae69c;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc71",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 58.899,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87422,
    "c": 0.12998,
    "h": 107.8
  },
  "luminance": 0.67908
}

Semantic roles & 50–950 ramp

primary
#DEDC71
secondary
#4547AF
accent
#1FCA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DEDC71

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

Preview Lab → · Contrast checker → · Palette generator →

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