#FFDF5C#FFDF5C

#FFDF5C is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.7% C 0.151 H 95.4°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#FFDF5C
RGBrgb(255, 223, 92)
HSLhsl(48, 100%, 68%)
HSVhsv(48, 64%, 100%)
CMYKcmyk(0%, 12.5%, 63.9%, 0%)
CIE-LABlab(89.30, -3.31, 66.19)
CIE-LCHlch(89.30, 66.27, 92.86°)
OKLaboklab(90.67% -0.0143 0.1504)
OKLCHoklch(90.67% 0.151 95.4)
XYZxyz(69.5627, 74.8116, 20.8991)
Luminance0.7481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF5C #5C7CFF
analogous
#FF8D5C #FFDF5C #CDFF5C
triadic
#FFDF5C #5CFFDF #DF5CFF
tetradic
#FFDF5C #5CFF8D #5C7CFF #FF5CCD
square
#FFDF5C #5CFF8D #5C7CFF #FF5CCD
split-complementary
#FFDF5C #5CCDFF #8D5CFF
monochromatic
#E1B500 #FFD31F #FFDF5C #FFEB99 #FFF7D6

Accessibility & contrast

On white

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

On black

15.96
#FFDF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF5C
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF5C#FFFFFF#000000##000000
##FFDF5C1.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB4C
Deuteranopia (green-blind)
#FDE563
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ffdf5c;
/* rgb */ color: rgb(255, 223, 92);
/* oklch */ color: oklch(90.7% 0.151 95.4);
Tailwind
colors: {
  custom: {
    50: '#ffe890',
    500: '#ffdf5c',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf5c;
$custom-light: #ffe890;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf5c",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 92
  },
  "hsl": {
    "h": 48.221,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90673,
    "c": 0.1511,
    "h": 95.4
  },
  "luminance": 0.74808
}

Semantic roles & 50–950 ramp

primary
#FFDF5C
secondary
#2649D9
accent
#2DE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFDF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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