#FFDF5D#FFDF5D

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

Color values

HEX#FFDF5D
RGBrgb(255, 223, 93)
HSLhsl(48, 100%, 68%)
HSVhsv(48, 64%, 100%)
CMYKcmyk(0%, 12.5%, 63.5%, 0%)
CIE-LABlab(89.31, -3.25, 65.78)
CIE-LCHlch(89.31, 65.86, 92.83°)
OKLaboklab(90.68% -0.014 0.1497)
OKLCHoklch(90.68% 0.15 95.4)
XYZxyz(69.6067, 74.8292, 21.1309)
Luminance0.7483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF5D #5D7DFF
analogous
#FF8E5D #FFDF5D #CEFF5D
triadic
#FFDF5D #5DFFDF #DF5DFF
tetradic
#FFDF5D #5DFF8E #5D7DFF #FF5DCE
square
#FFDF5D #5DFF8E #5D7DFF #FF5DCE
split-complementary
#FFDF5D #5DCEFF #8E5DFF
monochromatic
#E2B500 #FFD320 #FFDF5D #FFEB9A #FFF7D7

Accessibility & contrast

On white

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

On black

15.97
#FFDF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF5D
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF5D#FFFFFF#000000##000000
##FFDF5D1.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffdf5d;
/* rgb */ color: rgb(255, 223, 93);
/* oklch */ color: oklch(90.7% 0.150 95.4);
Tailwind
colors: {
  custom: {
    50: '#ffe890',
    500: '#ffdf5d',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf5d;
$custom-light: #ffe890;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf5d",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 93
  },
  "hsl": {
    "h": 48.148,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90682,
    "c": 0.15035,
    "h": 95.4
  },
  "luminance": 0.74826
}

Semantic roles & 50–950 ramp

primary
#FFDF5D
secondary
#274AD9
accent
#2DE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFDF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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