#FFDC51#FFDC51

#FFDC51 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 90.0% C 0.157 H 94.7°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#FFDC51
RGBrgb(255, 220, 81)
HSLhsl(48, 100%, 66%)
HSVhsv(48, 68%, 100%)
CMYKcmyk(0%, 13.7%, 68.2%, 0%)
CIE-LABlab(88.47, -2.40, 69.78)
CIE-LCHlch(88.47, 69.82, 91.97°)
OKLaboklab(89.99% -0.013 0.1563)
OKLCHoklch(89.99% 0.157 94.7)
XYZxyz(68.3218, 73.0441, 18.2832)
Luminance0.7304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDC51 #5174FF
analogous
#FF8551 #FFDC51 #CBFF51
triadic
#FFDC51 #51FFDC #DC51FF
tetradic
#FFDC51 #51FF85 #5174FF #FF51CB
square
#FFDC51 #51FF85 #5174FF #FF51CB
split-complementary
#FFDC51 #51CBFF #8551FF
monochromatic
#D6AB00 #FFD014 #FFDC51 #FFE88E #FFF5CB

Accessibility & contrast

On white

1.35
#FFDC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#FFDC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDC51
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDC51#FFFFFF#000000##000000
##FFDC511.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83E
Deuteranopia (green-blind)
#FBE358
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ffdc51;
/* rgb */ color: rgb(255, 220, 81);
/* oklch */ color: oklch(90.0% 0.157 94.7);
Tailwind
colors: {
  custom: {
    50: '#ffe689',
    500: '#ffdc51',
    950: '#000000',
  },
}
SCSS
$custom: #ffdc51;
$custom-light: #ffe689;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdc51",
  "rgb": {
    "r": 255,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 47.931,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89985,
    "c": 0.15683,
    "h": 94.7
  },
  "luminance": 0.7304
}

Semantic roles & 50–950 ramp

primary
#FFDC51
secondary
#2547D0
accent
#2EE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #FFDC51

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

Preview Lab → · Contrast checker → · Palette generator →

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