#DCD47F#DCD47F

#DCD47F is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.8% C 0.107 H 103.7°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#DCD47F
RGBrgb(220, 212, 127)
HSLhsl(55, 57%, 68%)
HSVhsv(55, 42%, 86%)
CMYKcmyk(0%, 3.6%, 42.3%, 13.7%)
CIE-LABlab(83.88, -9.14, 42.94)
CIE-LCHlch(83.88, 43.90, 102.02°)
OKLaboklab(85.79% -0.0254 0.104)
OKLCHoklch(85.79% 0.107 103.7)
XYZxyz(56.8906, 63.8365, 29.3994)
Luminance0.6383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD47F #7F87DC
analogous
#DCA57F #DCD47F #B5DC7F
triadic
#DCD47F #7FDCD4 #D47FDC
tetradic
#DCD47F #7FDCA5 #7F87DC #DC7FB5
square
#DCD47F #7FDCA5 #7F87DC #DC7FB5
split-complementary
#DCD47F #7FB5DC #A57FDC
monochromatic
#B0A530 #CFC44F #DCD47F #E9E4AF #F6F4DF

Accessibility & contrast

On white

1.53
#DCD47F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#DCD47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD47F
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD47F#FFFFFF#000000##000000
##DCD47F1.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF78
Deuteranopia (green-blind)
#E5D383
Tritanopia (blue-blind)
#E8CABF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd47f;
/* rgb */ color: rgb(220, 212, 127);
/* oklch */ color: oklch(85.8% 0.107 103.7);
Tailwind
colors: {
  custom: {
    50: '#e8e1a5',
    500: '#dcd47f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd47f;
$custom-light: #e8e1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd47f",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 127
  },
  "hsl": {
    "h": 54.839,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85786,
    "c": 0.10704,
    "h": 103.7
  },
  "luminance": 0.63835
}

Semantic roles & 50–950 ramp

primary
#DCD47F
secondary
#4D55B2
accent
#2FC521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD47F

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

Preview Lab → · Contrast checker → · Palette generator →

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