#DED47B#DED47B

#DED47B is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.9% C 0.111 H 102.8°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#DED47B
RGBrgb(222, 212, 123)
HSLhsl(54, 60%, 68%)
HSVhsv(54, 45%, 87%)
CMYKcmyk(0%, 4.5%, 44.6%, 12.9%)
CIE-LABlab(83.99, -8.75, 45.09)
CIE-LCHlch(83.99, 45.93, 100.98°)
OKLaboklab(85.9% -0.0247 0.1086)
OKLCHoklch(85.9% 0.111 102.8)
XYZxyz(57.2441, 64.0483, 28.0822)
Luminance0.6405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED47B #7B85DE
analogous
#DEA27B #DED47B #B7DE7B
triadic
#DED47B #7BDED4 #D47BDE
tetradic
#DED47B #7BDEA2 #7B85DE #DE7BB7
square
#DED47B #7BDEA2 #7B85DE #DE7BB7
split-complementary
#DED47B #7BB7DE #A27BDE
monochromatic
#B2A52D #D2C44A #DED47B #EAE4AC #F6F4DD

Accessibility & contrast

On white

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

On black

13.81
#DED47B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED47B
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED47B#FFFFFF#000000##000000
##DED47B1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF74
Deuteranopia (green-blind)
#E6D47F
Tritanopia (blue-blind)
#EBC9BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded47b;
/* rgb */ color: rgb(222, 212, 123);
/* oklch */ color: oklch(85.9% 0.111 102.8);
Tailwind
colors: {
  custom: {
    50: '#eae1a3',
    500: '#ded47b',
    950: '#000000',
  },
}
SCSS
$custom: #ded47b;
$custom-light: #eae1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ded47b",
  "rgb": {
    "r": 222,
    "g": 212,
    "b": 123
  },
  "hsl": {
    "h": 53.939,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85895,
    "c": 0.11132,
    "h": 102.8
  },
  "luminance": 0.64047
}

Semantic roles & 50–950 ramp

primary
#DED47B
secondary
#4954B4
accent
#2FC81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED47B

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

Preview Lab → · Contrast checker → · Palette generator →

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