#DEDC4E#DEDC4E

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

Color values

HEX#DEDC4E
RGBrgb(222, 220, 78)
HSLhsl(59, 69%, 59%)
HSVhsv(59, 65%, 87%)
CMYKcmyk(0%, 0.9%, 64.9%, 12.9%)
CIE-LABlab(85.64, -16.22, 67.16)
CIE-LCHlch(85.64, 69.09, 103.58°)
OKLaboklab(87.06% -0.0507 0.1513)
OKLCHoklch(87.06% 0.16 108.5)
XYZxyz(57.0945, 67.2678, 17.1827)
Luminance0.6727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC4E #4E50DE
analogous
#DE944E #DEDC4E #98DE4E
triadic
#DEDC4E #4EDEDC #DC4EDE
tetradic
#DEDC4E #4EDE94 #4E50DE #DE4E98
square
#DEDC4E #4EDE94 #4E50DE #DE4E98
split-complementary
#DEDC4E #4E98DE #944EDE
monochromatic
#96941C #C9C726 #DEDC4E #E8E682 #F1F0B5

Accessibility & contrast

On white

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

On black

14.45
#DEDC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC4E
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC4E#FFFFFF#000000##000000
##DEDC4E1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dedc4e;
/* rgb */ color: rgb(222, 220, 78);
/* oklch */ color: oklch(87.1% 0.160 108.5);
Tailwind
colors: {
  custom: {
    50: '#ece687',
    500: '#dedc4e',
    950: '#000000',
  },
}
SCSS
$custom: #dedc4e;
$custom-light: #ece687;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc4e",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 78
  },
  "hsl": {
    "h": 59.167,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.87061,
    "c": 0.15954,
    "h": 108.5
  },
  "luminance": 0.67266
}

Semantic roles & 50–950 ramp

primary
#DEDC4E
secondary
#36389A
accent
#3FEB3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DEDC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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