#DED74C#DED74C

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

Color values

HEX#DED74C
RGBrgb(222, 215, 76)
HSLhsl(57, 69%, 58%)
HSVhsv(57, 66%, 87%)
CMYKcmyk(0%, 3.2%, 65.8%, 12.9%)
CIE-LABlab(84.31, -13.86, 66.57)
CIE-LCHlch(84.31, 68.00, 101.76°)
OKLaboklab(85.99% -0.0442 0.1497)
OKLCHoklch(85.99% 0.156 106.4)
XYZxyz(55.7312, 64.6542, 16.3799)
Luminance0.6465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED74C #4C53DE
analogous
#DE8E4C #DED74C #9CDE4C
triadic
#DED74C #4CDED7 #D74CDE
tetradic
#DED74C #4CDE8E #4C53DE #DE4C9C
square
#DED74C #4CDE8E #4C53DE #DE4C9C
split-complementary
#DED74C #4C9CDE #8E4CDE
monochromatic
#948E1B #C8C025 #DED74C #E8E380 #F1EEB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED74C#FFFFFF#000000##000000
##DED74C1.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)
#E9CF39
Deuteranopia (green-blind)
#ECD555
Tritanopia (blue-blind)
#EEC9BB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ded74c;
/* rgb */ color: rgb(222, 215, 76);
/* oklch */ color: oklch(86.0% 0.156 106.4);
Tailwind
colors: {
  custom: {
    50: '#ece385',
    500: '#ded74c',
    950: '#000000',
  },
}
SCSS
$custom: #ded74c;
$custom-light: #ece385;
$custom-dark: #000000;
JSON
{
  "hex": "#ded74c",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 57.123,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85993,
    "c": 0.15611,
    "h": 106.4
  },
  "luminance": 0.64652
}

Semantic roles & 50–950 ramp

primary
#DED74C
secondary
#353A99
accent
#45EC3C
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED74C

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

Preview Lab → · Contrast checker → · Palette generator →

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