#DED47F#DED47F

#DED47F is a very light, moderate yellow. Relative luminance 0.641; OKLCH L 86.0% C 0.107 H 102.5°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#DED47F
RGBrgb(222, 212, 127)
HSLhsl(54, 59%, 68%)
HSVhsv(54, 43%, 87%)
CMYKcmyk(0%, 4.5%, 42.8%, 12.9%)
CIE-LABlab(84.04, -8.35, 43.18)
CIE-LCHlch(84.04, 43.98, 100.94°)
OKLaboklab(85.96% -0.0232 0.1045)
OKLCHoklch(85.96% 0.107 102.5)
XYZxyz(57.4997, 64.1505, 29.4279)
Luminance0.6415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED47F #7F89DE
analogous
#DEA47F #DED47F #B8DE7F
triadic
#DED47F #7FDED4 #D47FDE
tetradic
#DED47F #7FDEA4 #7F89DE #DE7FB8
square
#DED47F #7FDEA4 #7F89DE #DE7FB8
split-complementary
#DED47F #7FB8DE #A47FDE
monochromatic
#B4A62E #D1C44E #DED47F #EBE4B0 #F7F5E0

Accessibility & contrast

On white

1.52
#DED47F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#DED47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED47F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED47F#FFFFFF#000000##000000
##DED47F1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF78
Deuteranopia (green-blind)
#E5D483
Tritanopia (blue-blind)
#EBC9BF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ded47f;
/* rgb */ color: rgb(222, 212, 127);
/* oklch */ color: oklch(86.0% 0.107 102.5);
Tailwind
colors: {
  custom: {
    50: '#eae1a5',
    500: '#ded47f',
    950: '#000000',
  },
}
SCSS
$custom: #ded47f;
$custom-light: #eae1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ded47f",
  "rgb": {
    "r": 222,
    "g": 212,
    "b": 127
  },
  "hsl": {
    "h": 53.684,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85955,
    "c": 0.10705,
    "h": 102.5
  },
  "luminance": 0.64149
}

Semantic roles & 50–950 ramp

primary
#DED47F
secondary
#4C57B5
accent
#31C71F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DED47F

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

Preview Lab → · Contrast checker → · Palette generator →

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