#DED74D#DED74D

#DED74D is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.0% C 0.155 H 106.4°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#DED74D
RGBrgb(222, 215, 77)
HSLhsl(57, 69%, 59%)
HSVhsv(57, 65%, 87%)
CMYKcmyk(0%, 3.2%, 65.3%, 12.9%)
CIE-LABlab(84.31, -13.80, 66.19)
CIE-LCHlch(84.31, 67.61, 101.78°)
OKLaboklab(86% -0.0439 0.1491)
OKLCHoklch(86% 0.155 106.4)
XYZxyz(55.7662, 64.6682, 16.5644)
Luminance0.6467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED74D #4D54DE
analogous
#DE8E4D #DED74D #9CDE4D
triadic
#DED74D #4DDED7 #D74DDE
tetradic
#DED74D #4DDE8E #4D54DE #DE4D9C
square
#DED74D #4DDE8E #4D54DE #DE4D9C
split-complementary
#DED74D #4D9CDE #8E4DDE
monochromatic
#958F1C #C9C125 #DED74D #E8E381 #F1EEB4

Accessibility & contrast

On white

1.51
#DED74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#DED74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED74D
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED74D#FFFFFF#000000##000000
##DED74D1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF3A
Deuteranopia (green-blind)
#ECD556
Tritanopia (blue-blind)
#EEC9BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ded74d;
/* rgb */ color: rgb(222, 215, 77);
/* oklch */ color: oklch(86.0% 0.155 106.4);
Tailwind
colors: {
  custom: {
    50: '#ece386',
    500: '#ded74d',
    950: '#000000',
  },
}
SCSS
$custom: #ded74d;
$custom-light: #ece386;
$custom-dark: #000000;
JSON
{
  "hex": "#ded74d",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 57.103,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86001,
    "c": 0.15541,
    "h": 106.4
  },
  "luminance": 0.64666
}

Semantic roles & 50–950 ramp

primary
#DED74D
secondary
#363B99
accent
#45EC3C
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED74D

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

Preview Lab → · Contrast checker → · Palette generator →

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