#FFDF54#FFDF54

#FFDF54 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.6% C 0.157 H 96.0°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#FFDF54
RGBrgb(255, 223, 84)
HSLhsl(49, 100%, 66%)
HSVhsv(49, 67%, 100%)
CMYKcmyk(0%, 12.5%, 67.1%, 0%)
CIE-LABlab(89.24, -3.76, 69.39)
CIE-LCHlch(89.24, 69.49, 93.10°)
OKLaboklab(90.6% -0.0165 0.156)
OKLCHoklch(90.6% 0.157 96)
XYZxyz(69.2312, 74.6790, 19.1537)
Luminance0.7468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF54 #5474FF
analogous
#FF8A54 #FFDF54 #CAFF54
triadic
#FFDF54 #54FFDF #DF54FF
tetradic
#FFDF54 #54FF8A #5474FF #FF54CA
square
#FFDF54 #54FF8A #5474FF #FF54CA
split-complementary
#FFDF54 #54CAFF #8A54FF
monochromatic
#D9B000 #FFD417 #FFDF54 #FFEA91 #FFF6CE

Accessibility & contrast

On white

1.32
#FFDF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.94
#FFDF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF54
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF54#FFFFFF#000000##000000
##FFDF541.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA42
Deuteranopia (green-blind)
#FDE55B
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ffdf54;
/* rgb */ color: rgb(255, 223, 84);
/* oklch */ color: oklch(90.6% 0.157 96.0);
Tailwind
colors: {
  custom: {
    50: '#ffe88b',
    500: '#ffdf54',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf54;
$custom-light: #ffe88b;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf54",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 48.772,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90604,
    "c": 0.15683,
    "h": 96
  },
  "luminance": 0.74675
}

Semantic roles & 50–950 ramp

primary
#FFDF54
secondary
#2545D2
accent
#2BE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFDF54

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

Preview Lab → · Contrast checker → · Palette generator →

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