#DEDC4F#DEDC4F

#DEDC4F is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.1% C 0.159 H 108.5°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#DEDC4F
RGBrgb(222, 220, 79)
HSLhsl(59, 68%, 59%)
HSVhsv(59, 64%, 87%)
CMYKcmyk(0%, 0.9%, 64.4%, 12.9%)
CIE-LABlab(85.65, -16.16, 66.78)
CIE-LCHlch(85.65, 68.70, 103.61°)
OKLaboklab(87.07% -0.0504 0.1506)
OKLCHoklch(87.07% 0.159 108.5)
XYZxyz(57.1306, 67.2822, 17.3729)
Luminance0.6728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC4F #4F51DE
analogous
#DE954F #DEDC4F #99DE4F
triadic
#DEDC4F #4FDEDC #DC4FDE
tetradic
#DEDC4F #4FDE95 #4F51DE #DE4F99
square
#DEDC4F #4FDE95 #4F51DE #DE4F99
split-complementary
#DEDC4F #4F99DE #954FDE
monochromatic
#96951C #CAC826 #DEDC4F #E8E683 #F1F0B6

Accessibility & contrast

On white

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

On black

14.46
#DEDC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC4F
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC4F#FFFFFF#000000##000000
##DEDC4F1.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33C
Deuteranopia (green-blind)
#EFD858
Tritanopia (blue-blind)
#EDCEBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc4f;
/* rgb */ color: rgb(222, 220, 79);
/* oklch */ color: oklch(87.1% 0.159 108.5);
Tailwind
colors: {
  custom: {
    50: '#ece687',
    500: '#dedc4f',
    950: '#000000',
  },
}
SCSS
$custom: #dedc4f;
$custom-light: #ece687;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc4f",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 59.161,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.87069,
    "c": 0.15883,
    "h": 108.5
  },
  "luminance": 0.67281
}

Semantic roles & 50–950 ramp

primary
#DEDC4F
secondary
#37389B
accent
#3FEB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DEDC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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