#DED94F#DED94F

#DED94F is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.4% C 0.156 H 107.2°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#DED94F
RGBrgb(222, 217, 79)
HSLhsl(58, 68%, 59%)
HSVhsv(58, 64%, 87%)
CMYKcmyk(0%, 2.3%, 64.4%, 12.9%)
CIE-LABlab(84.85, -14.68, 65.95)
CIE-LCHlch(84.85, 67.57, 102.55°)
OKLaboklab(86.44% -0.0462 0.1489)
OKLCHoklch(86.44% 0.156 107.2)
XYZxyz(56.3503, 65.7216, 17.1128)
Luminance0.6572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED94F #4F54DE
analogous
#DE924F #DED94F #9CDE4F
triadic
#DED94F #4FDED9 #D94FDE
tetradic
#DED94F #4FDE92 #4F54DE #DE4F9C
square
#DED94F #4FDE92 #4F54DE #DE4F9C
split-complementary
#DED94F #4F9CDE #924FDE
monochromatic
#96921C #CAC426 #DED94F #E8E483 #F1EFB6

Accessibility & contrast

On white

1.48
#DED94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#DED94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED94F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED94F#FFFFFF#000000##000000
##DED94F1.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13D
Deuteranopia (green-blind)
#EDD658
Tritanopia (blue-blind)
#EDCBBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded94f;
/* rgb */ color: rgb(222, 217, 79);
/* oklch */ color: oklch(86.4% 0.156 107.2);
Tailwind
colors: {
  custom: {
    50: '#ece487',
    500: '#ded94f',
    950: '#000000',
  },
}
SCSS
$custom: #ded94f;
$custom-light: #ece487;
$custom-dark: #000000;
JSON
{
  "hex": "#ded94f",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 57.902,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86438,
    "c": 0.15589,
    "h": 107.2
  },
  "luminance": 0.6572
}

Semantic roles & 50–950 ramp

primary
#DED94F
secondary
#373A9B
accent
#43EB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED94F

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

Preview Lab → · Contrast checker → · Palette generator →

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