#DCD157#DCD157

#DCD157 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.7% C 0.142 H 104.2°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#DCD157
RGBrgb(220, 209, 87)
HSLhsl(55, 66%, 60%)
HSVhsv(55, 60%, 86%)
CMYKcmyk(0%, 5%, 60.5%, 13.7%)
CIE-LABlab(82.65, -11.00, 60.24)
CIE-LCHlch(82.65, 61.24, 100.35°)
OKLaboklab(84.66% -0.0348 0.138)
OKLCHoklch(84.66% 0.142 104.2)
XYZxyz(54.0379, 61.5066, 18.0405)
Luminance0.6150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD157 #5762DC
analogous
#DC8F57 #DCD157 #A4DC57
triadic
#DCD157 #57DCD1 #D157DC
tetradic
#DCD157 #57DC8F #5762DC #DC57A4
square
#DCD157 #57DC8F #5762DC #DC57A4
split-complementary
#DCD157 #57A4DC #8F57DC
monochromatic
#998F20 #CBBE2A #DCD157 #E7DF8A #F1EDBC

Accessibility & contrast

On white

1.58
#DCD157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#DCD157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD157
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD157#FFFFFF#000000##000000
##DCD1571.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA49
Deuteranopia (green-blind)
#E6D05E
Tritanopia (blue-blind)
#EBC4B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd157;
/* rgb */ color: rgb(220, 209, 87);
/* oklch */ color: oklch(84.7% 0.142 104.2);
Tailwind
colors: {
  custom: {
    50: '#eade8b',
    500: '#dcd157',
    950: '#000000',
  },
}
SCSS
$custom: #dcd157;
$custom-light: #eade8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd157",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 87
  },
  "hsl": {
    "h": 55.038,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84664,
    "c": 0.14232,
    "h": 104.2
  },
  "luminance": 0.61505
}

Semantic roles & 50–950 ramp

primary
#DCD157
secondary
#3A429D
accent
#27CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD157

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

Preview Lab → · Contrast checker → · Palette generator →

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