#FFDC57#FFDC57

#FFDC57 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 90.0% C 0.153 H 94.3°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#FFDC57
RGBrgb(255, 220, 87)
HSLhsl(48, 100%, 67%)
HSVhsv(48, 66%, 100%)
CMYKcmyk(0%, 13.7%, 65.9%, 0%)
CIE-LABlab(88.51, -2.08, 67.42)
CIE-LCHlch(88.51, 67.45, 91.77°)
OKLaboklab(90.04% -0.0114 0.1523)
OKLCHoklch(90.04% 0.153 94.3)
XYZxyz(68.5568, 73.1381, 19.5210)
Luminance0.7313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDC57 #577AFF
analogous
#FF8857 #FFDC57 #CEFF57
triadic
#FFDC57 #57FFDC #DC57FF
tetradic
#FFDC57 #57FF88 #577AFF #FF57CE
square
#FFDC57 #57FF88 #577AFF #FF57CE
split-complementary
#FFDC57 #57CEFF #8857FF
monochromatic
#DCAE00 #FFCF1A #FFDC57 #FFE994 #FFF6D1

Accessibility & contrast

On white

1.34
#FFDC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.63
#FFDC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDC57
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDC57#FFFFFF#000000##000000
##FFDC571.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D846
Deuteranopia (green-blind)
#FBE35E
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ffdc57;
/* rgb */ color: rgb(255, 220, 87);
/* oklch */ color: oklch(90.0% 0.153 94.3);
Tailwind
colors: {
  custom: {
    50: '#ffe68c',
    500: '#ffdc57',
    950: '#000000',
  },
}
SCSS
$custom: #ffdc57;
$custom-light: #ffe68c;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdc57",
  "rgb": {
    "r": 255,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 47.5,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90035,
    "c": 0.15269,
    "h": 94.3
  },
  "luminance": 0.73135
}

Semantic roles & 50–950 ramp

primary
#FFDC57
secondary
#264AD5
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150D
muted
#87847F

Preview Lab

Preview with #FFDC57

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

Preview Lab → · Contrast checker → · Palette generator →

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