#DCD57F#DCD57F

#DCD57F is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.0% C 0.108 H 104.4°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#DCD57F
RGBrgb(220, 213, 127)
HSLhsl(55, 57%, 68%)
HSVhsv(55, 42%, 86%)
CMYKcmyk(0%, 3.2%, 42.3%, 13.7%)
CIE-LABlab(84.14, -9.65, 43.27)
CIE-LCHlch(84.14, 44.33, 102.57°)
OKLaboklab(85.99% -0.0268 0.1047)
OKLCHoklch(85.99% 0.108 104.4)
XYZxyz(57.1413, 64.3380, 29.4830)
Luminance0.6434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD57F #7F86DC
analogous
#DCA67F #DCD57F #B4DC7F
triadic
#DCD57F #7FDCD5 #D57FDC
tetradic
#DCD57F #7FDCA6 #7F86DC #DC7FB4
square
#DCD57F #7FDCA6 #7F86DC #DC7FB4
split-complementary
#DCD57F #7FB4DC #A67FDC
monochromatic
#B0A730 #CFC54F #DCD57F #E9E5AF #F6F5DF

Accessibility & contrast

On white

1.51
#DCD57F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#DCD57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD57F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD57F#FFFFFF#000000##000000
##DCD57F1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd57f;
/* rgb */ color: rgb(220, 213, 127);
/* oklch */ color: oklch(86.0% 0.108 104.4);
Tailwind
colors: {
  custom: {
    50: '#e8e1a5',
    500: '#dcd57f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd57f;
$custom-light: #e8e1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd57f",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 127
  },
  "hsl": {
    "h": 55.484,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85993,
    "c": 0.10811,
    "h": 104.4
  },
  "luminance": 0.64336
}

Semantic roles & 50–950 ramp

primary
#DCD57F
secondary
#4D54B2
accent
#2DC521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD57F

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

Preview Lab → · Contrast checker → · Palette generator →

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