#DEDD47#DEDD47

#DEDD47 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.2% C 0.165 H 109.0°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#DEDD47
RGBrgb(222, 221, 71)
HSLhsl(60, 70%, 57%)
HSVhsv(60, 68%, 87%)
CMYKcmyk(0%, 0.5%, 68%, 12.9%)
CIE-LABlab(85.86, -17.09, 70.03)
CIE-LCHlch(85.86, 72.09, 103.71°)
OKLaboklab(87.22% -0.0538 0.1562)
OKLCHoklch(87.22% 0.165 109)
XYZxyz(57.1200, 67.6991, 16.0184)
Luminance0.6770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDD47 #4748DE
analogous
#DE9247 #DEDD47 #93DE47
triadic
#DEDD47 #47DEDD #DD47DE
tetradic
#DEDD47 #47DE92 #4748DE #DE4793
square
#DEDD47 #47DE92 #4748DE #DE4793
split-complementary
#DEDD47 #4793DE #9247DE
monochromatic
#91901A #C5C323 #DEDD47 #E7E77B #F1F0AF

Accessibility & contrast

On white

1.44
#DEDD47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#DEDD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDD47
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDD47#FFFFFF#000000##000000
##DEDD471.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD42F
Deuteranopia (green-blind)
#F1D952
Tritanopia (blue-blind)
#EDCFBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedd47;
/* rgb */ color: rgb(222, 221, 71);
/* oklch */ color: oklch(87.2% 0.165 109.0);
Tailwind
colors: {
  custom: {
    50: '#ece783',
    500: '#dedd47',
    950: '#000000',
  },
}
SCSS
$custom: #dedd47;
$custom-light: #ece783;
$custom-dark: #000000;
JSON
{
  "hex": "#dedd47",
  "rgb": {
    "r": 222,
    "g": 221,
    "b": 71
  },
  "hsl": {
    "h": 59.603,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.87219,
    "c": 0.16523,
    "h": 109
  },
  "luminance": 0.67697
}

Semantic roles & 50–950 ramp

primary
#DEDD47
secondary
#343496
accent
#3DEC3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #DEDD47

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

Preview Lab → · Contrast checker → · Palette generator →

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