#DED159#DED159

#DED159 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.9% C 0.141 H 103.1°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#DED159
RGBrgb(222, 209, 89)
HSLhsl(54, 67%, 61%)
HSVhsv(54, 60%, 87%)
CMYKcmyk(0%, 5.9%, 59.9%, 12.9%)
CIE-LABlab(82.84, -10.04, 59.62)
CIE-LCHlch(82.84, 60.46, 99.56°)
OKLaboklab(84.86% -0.032 0.1369)
OKLCHoklch(84.86% 0.141 103.1)
XYZxyz(54.7298, 61.8538, 18.5053)
Luminance0.6185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED159 #5966DE
analogous
#DE8E59 #DED159 #A8DE59
triadic
#DED159 #59DED1 #D159DE
tetradic
#DED159 #59DE8E #5966DE #DE59A8
square
#DED159 #59DE8E #5966DE #DE59A8
split-complementary
#DED159 #59A8DE #8E59DE
monochromatic
#9D911F #D0C029 #DED159 #E8DF8C #F2EDBF

Accessibility & contrast

On white

1.57
#DED159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#DED159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED159
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED159#FFFFFF#000000##000000
##DED1591.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4C
Deuteranopia (green-blind)
#E6D15F
Tritanopia (blue-blind)
#EDC4B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ded159;
/* rgb */ color: rgb(222, 209, 89);
/* oklch */ color: oklch(84.9% 0.141 103.1);
Tailwind
colors: {
  custom: {
    50: '#ebde8c',
    500: '#ded159',
    950: '#000000',
  },
}
SCSS
$custom: #ded159;
$custom-light: #ebde8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded159",
  "rgb": {
    "r": 222,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 54.135,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84858,
    "c": 0.14058,
    "h": 103.1
  },
  "luminance": 0.61852
}

Semantic roles & 50–950 ramp

primary
#DED159
secondary
#3A44A1
accent
#29CF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED159

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

Preview Lab → · Contrast checker → · Palette generator →

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