#DEDD74#DEDD74

#DEDD74 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.7% C 0.128 H 108.3°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#DEDD74
RGBrgb(222, 221, 116)
HSLhsl(59, 62%, 66%)
HSVhsv(59, 48%, 87%)
CMYKcmyk(0%, 0.5%, 47.7%, 12.9%)
CIE-LABlab(86.26, -13.92, 51.24)
CIE-LCHlch(86.26, 53.10, 105.20°)
OKLaboklab(87.67% -0.0402 0.1217)
OKLCHoklch(87.67% 0.128 108.3)
XYZxyz(59.1343, 68.5049, 26.6273)
Luminance0.6850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDD74 #7475DE
analogous
#DEA874 #DEDD74 #AADE74
triadic
#DEDD74 #74DEDD #DD74DE
tetradic
#DEDD74 #74DEA8 #7475DE #DE74AA
square
#DEDD74 #74DEA8 #7475DE #DE74AA
split-complementary
#DEDD74 #74AADE #A874DE
monochromatic
#AEAD29 #D2D143 #DEDD74 #EAE9A5 #F5F5D7

Accessibility & contrast

On white

1.43
#DEDD74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#DEDD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDD74
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDD74#FFFFFF#000000##000000
##DEDD741.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66B
Deuteranopia (green-blind)
#EDDA79
Tritanopia (blue-blind)
#EBD2C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dedd74;
/* rgb */ color: rgb(222, 221, 116);
/* oklch */ color: oklch(87.7% 0.128 108.3);
Tailwind
colors: {
  custom: {
    50: '#eae79e',
    500: '#dedd74',
    950: '#000000',
  },
}
SCSS
$custom: #dedd74;
$custom-light: #eae79e;
$custom-dark: #000000;
JSON
{
  "hex": "#dedd74",
  "rgb": {
    "r": 222,
    "g": 221,
    "b": 116
  },
  "hsl": {
    "h": 59.434,
    "s": 61.628,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87669,
    "c": 0.12812,
    "h": 108.3
  },
  "luminance": 0.68503
}

Semantic roles & 50–950 ramp

primary
#DEDD74
secondary
#4647B0
accent
#1EC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16160F
muted
#858480

Preview Lab

Preview with #DEDD74

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

Preview Lab → · Contrast checker → · Palette generator →

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