#DED949#DED949

#DED949 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.4% C 0.160 H 107.4°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#DED949
RGBrgb(222, 217, 73)
HSLhsl(58, 69%, 58%)
HSVhsv(58, 67%, 87%)
CMYKcmyk(0%, 2.3%, 67.1%, 12.9%)
CIE-LABlab(84.81, -15.01, 68.24)
CIE-LCHlch(84.81, 69.87, 102.41°)
OKLaboklab(86.39% -0.0478 0.1528)
OKLCHoklch(86.39% 0.16 107.4)
XYZxyz(56.1417, 65.6382, 16.0142)
Luminance0.6564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED949 #494EDE
analogous
#DE8F49 #DED949 #98DE49
triadic
#DED949 #49DED9 #D949DE
tetradic
#DED949 #49DE8F #494EDE #DE4998
square
#DED949 #49DE8F #494EDE #DE4998
split-complementary
#DED949 #4998DE #8F49DE
monochromatic
#928E1A #C6C024 #DED949 #E7E47D #F1EFB1

Accessibility & contrast

On white

1.49
#DED949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#DED949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED949
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED949#FFFFFF#000000##000000
##DED9491.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD134
Deuteranopia (green-blind)
#EDD653
Tritanopia (blue-blind)
#EECBBC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded949;
/* rgb */ color: rgb(222, 217, 73);
/* oklch */ color: oklch(86.4% 0.160 107.4);
Tailwind
colors: {
  custom: {
    50: '#ece484',
    500: '#ded949',
    950: '#000000',
  },
}
SCSS
$custom: #ded949;
$custom-light: #ece484;
$custom-dark: #000000;
JSON
{
  "hex": "#ded949",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 73
  },
  "hsl": {
    "h": 57.987,
    "s": 69.302,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8639,
    "c": 0.16006,
    "h": 107.4
  },
  "luminance": 0.65636
}

Semantic roles & 50–950 ramp

primary
#DED949
secondary
#343897
accent
#42EC3C
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DED949

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

Preview Lab → · Contrast checker → · Palette generator →

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