#DED941#DED941

#DED941 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.3% C 0.165 H 107.5°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#DED941
RGBrgb(222, 217, 65)
HSLhsl(58, 70%, 56%)
HSVhsv(58, 71%, 87%)
CMYKcmyk(0%, 2.3%, 70.7%, 12.9%)
CIE-LABlab(84.76, -15.41, 71.11)
CIE-LCHlch(84.76, 72.76, 102.23°)
OKLaboklab(86.33% -0.0497 0.1575)
OKLCHoklch(86.33% 0.165 107.5)
XYZxyz(55.8933, 65.5388, 14.7060)
Luminance0.6554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED941 #4146DE
analogous
#DE8B41 #DED941 #95DE41
triadic
#DED941 #41DED9 #D941DE
tetradic
#DED941 #41DE8B #4146DE #DE4195
square
#DED941 #41DE8B #4146DE #DE4195
split-complementary
#DED941 #4195DE #8B41DE
monochromatic
#8C8918 #C0BB21 #DED941 #E7E375 #F0EEA9

Accessibility & contrast

On white

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

On black

14.11
#DED941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED941
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED941#FFFFFF#000000##000000
##DED9411.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD126
Deuteranopia (green-blind)
#EED64C
Tritanopia (blue-blind)
#EECBBB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded941;
/* rgb */ color: rgb(222, 217, 65);
/* oklch */ color: oklch(86.3% 0.165 107.5);
Tailwind
colors: {
  custom: {
    50: '#ece47f',
    500: '#ded941',
    950: '#000000',
  },
}
SCSS
$custom: #ded941;
$custom-light: #ece47f;
$custom-dark: #000000;
JSON
{
  "hex": "#ded941",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 58.089,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86333,
    "c": 0.16513,
    "h": 107.5
  },
  "luminance": 0.65537
}

Semantic roles & 50–950 ramp

primary
#DED941
secondary
#323592
accent
#40ED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DED941

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

Preview Lab → · Contrast checker → · Palette generator →

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