#FFDF5A#FFDF5A

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

Color values

HEX#FFDF5A
RGBrgb(255, 223, 90)
HSLhsl(48, 100%, 68%)
HSVhsv(48, 65%, 100%)
CMYKcmyk(0%, 12.5%, 64.7%, 0%)
CIE-LABlab(89.29, -3.42, 67.01)
CIE-LCHlch(89.29, 67.09, 92.93°)
OKLaboklab(90.66% -0.0149 0.1519)
OKLCHoklch(90.66% 0.153 95.6)
XYZxyz(69.4764, 74.7770, 20.4448)
Luminance0.7477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF5A #5A7AFF
analogous
#FF8D5A #FFDF5A #CCFF5A
triadic
#FFDF5A #5AFFDF #DF5AFF
tetradic
#FFDF5A #5AFF8D #5A7AFF #FF5ACC
square
#FFDF5A #5AFF8D #5A7AFF #FF5ACC
split-complementary
#FFDF5A #5ACCFF #8D5AFF
monochromatic
#DFB300 #FFD31D #FFDF5A #FFEB97 #FFF7D4

Accessibility & contrast

On white

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

On black

15.95
#FFDF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDF5A
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDF5A#FFFFFF#000000##000000
##FFDF5A1.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffdf5a;
/* rgb */ color: rgb(255, 223, 90);
/* oklch */ color: oklch(90.7% 0.153 95.6);
Tailwind
colors: {
  custom: {
    50: '#ffe88e',
    500: '#ffdf5a',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf5a;
$custom-light: #ffe88e;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf5a",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 48.364,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90655,
    "c": 0.15258,
    "h": 95.6
  },
  "luminance": 0.74774
}

Semantic roles & 50–950 ramp

primary
#FFDF5A
secondary
#2648D7
accent
#2DE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFDF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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