#FFDF5E#FFDF5E

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

Color values

HEX#FFDF5E
RGBrgb(255, 223, 94)
HSLhsl(48, 100%, 68%)
HSVhsv(48, 63%, 100%)
CMYKcmyk(0%, 12.5%, 63.1%, 0%)
CIE-LABlab(89.32, -3.19, 65.37)
CIE-LCHlch(89.32, 65.45, 92.79°)
OKLaboklab(90.69% -0.0138 0.149)
OKLCHoklch(90.69% 0.15 95.3)
XYZxyz(69.6512, 74.8470, 21.3657)
Luminance0.7484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF5E #5E7EFF
analogous
#FF8E5E #FFDF5E #CEFF5E
triadic
#FFDF5E #5EFFDF #DF5EFF
tetradic
#FFDF5E #5EFF8E #5E7EFF #FF5ECE
square
#FFDF5E #5EFF8E #5E7EFF #FF5ECE
split-complementary
#FFDF5E #5ECEFF #8E5EFF
monochromatic
#E3B600 #FFD321 #FFDF5E #FFEB9B #FFF7D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFDF5E#FFFFFF#000000##000000
##FFDF5E1.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)
#F4DB4F
Deuteranopia (green-blind)
#FCE564
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ffdf5e;
/* rgb */ color: rgb(255, 223, 94);
/* oklch */ color: oklch(90.7% 0.150 95.3);
Tailwind
colors: {
  custom: {
    50: '#ffe891',
    500: '#ffdf5e',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf5e;
$custom-light: #ffe891;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf5e",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 94
  },
  "hsl": {
    "h": 48.075,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90691,
    "c": 0.14959,
    "h": 95.3
  },
  "luminance": 0.74844
}

Semantic roles & 50–950 ramp

primary
#FFDF5E
secondary
#284BD9
accent
#2EE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFDF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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