#DCD57B#DCD57B

#DCD57B is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 85.9% C 0.112 H 104.6°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#DCD57B
RGBrgb(220, 213, 123)
HSLhsl(56, 58%, 67%)
HSVhsv(56, 44%, 86%)
CMYKcmyk(0%, 3.2%, 44.1%, 13.7%)
CIE-LABlab(84.09, -10.05, 45.18)
CIE-LCHlch(84.09, 46.28, 102.54°)
OKLaboklab(85.93% -0.0283 0.1088)
OKLCHoklch(85.93% 0.112 104.6)
XYZxyz(56.8858, 64.2357, 28.1372)
Luminance0.6423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD57B #7B82DC
analogous
#DCA57B #DCD57B #B3DC7B
triadic
#DCD57B #7BDCD5 #D57BDC
tetradic
#DCD57B #7BDCA5 #7B82DC #DC7BB3
square
#DCD57B #7BDCA5 #7B82DC #DC7BB3
split-complementary
#DCD57B #7BB3DC #A57BDC
monochromatic
#AEA52E #CFC64B #DCD57B #E9E4AB #F6F4DC

Accessibility & contrast

On white

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

On black

13.85
#DCD57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD57B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD57B#FFFFFF#000000##000000
##DCD57B1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF74
Deuteranopia (green-blind)
#E6D47F
Tritanopia (blue-blind)
#E9CABF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd57b;
/* rgb */ color: rgb(220, 213, 123);
/* oklch */ color: oklch(85.9% 0.112 104.6);
Tailwind
colors: {
  custom: {
    50: '#e8e1a3',
    500: '#dcd57b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd57b;
$custom-light: #e8e1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd57b",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 123
  },
  "hsl": {
    "h": 55.67,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85933,
    "c": 0.1124,
    "h": 104.6
  },
  "luminance": 0.64234
}

Semantic roles & 50–950 ramp

primary
#DCD57B
secondary
#4B52B1
accent
#2CC620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD57B

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

Preview Lab → · Contrast checker → · Palette generator →

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