#DEDC79#DEDC79

#DEDC79 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.5% C 0.122 H 107.6°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#DEDC79
RGBrgb(222, 220, 121)
HSLhsl(59, 60%, 67%)
HSVhsv(59, 45%, 87%)
CMYKcmyk(0%, 0.9%, 45.5%, 12.9%)
CIE-LABlab(86.06, -12.96, 48.60)
CIE-LCHlch(86.06, 50.30, 104.93°)
OKLaboklab(87.53% -0.037 0.1162)
OKLCHoklch(87.53% 0.122 107.6)
XYZxyz(59.1698, 68.0979, 28.1127)
Luminance0.6810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC79 #797BDE
analogous
#DEAA79 #DEDC79 #AEDE79
triadic
#DEDC79 #79DEDC #DC79DE
tetradic
#DEDC79 #79DEAA #797BDE #DE79AE
square
#DEDC79 #79DEAA #797BDE #DE79AE
split-complementary
#DEDC79 #79AEDE #AA79DE
monochromatic
#B1AE2C #D2CF48 #DEDC79 #EAE9AA #F6F6DB

Accessibility & contrast

On white

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

On black

14.62
#DEDC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC79
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC79#FFFFFF#000000##000000
##DEDC791.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD571
Deuteranopia (green-blind)
#ECD97E
Tritanopia (blue-blind)
#EBD1C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedc79;
/* rgb */ color: rgb(222, 220, 121);
/* oklch */ color: oklch(87.5% 0.122 107.6);
Tailwind
colors: {
  custom: {
    50: '#eae6a2',
    500: '#dedc79',
    950: '#000000',
  },
}
SCSS
$custom: #dedc79;
$custom-light: #eae6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc79",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 121
  },
  "hsl": {
    "h": 58.812,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87527,
    "c": 0.12197,
    "h": 107.6
  },
  "luminance": 0.68096
}

Semantic roles & 50–950 ramp

primary
#DEDC79
secondary
#484BB3
accent
#21C81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DEDC79

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

Preview Lab → · Contrast checker → · Palette generator →

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