#FFDF5F#FFDF5F

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

Color values

HEX#FFDF5F
RGBrgb(255, 223, 95)
HSLhsl(48, 100%, 69%)
HSVhsv(48, 63%, 100%)
CMYKcmyk(0%, 12.5%, 62.7%, 0%)
CIE-LABlab(89.33, -3.13, 64.95)
CIE-LCHlch(89.33, 65.03, 92.76°)
OKLaboklab(90.7% -0.0135 0.1482)
OKLCHoklch(90.7% 0.149 95.2)
XYZxyz(69.6964, 74.8651, 21.6035)
Luminance0.7486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDF5F #5F7FFF
analogous
#FF8F5F #FFDF5F #CFFF5F
triadic
#FFDF5F #5FFFDF #DF5FFF
tetradic
#FFDF5F #5FFF8F #5F7FFF #FF5FCF
square
#FFDF5F #5FFF8F #5F7FFF #FF5FCF
split-complementary
#FFDF5F #5FCFFF #8F5FFF
monochromatic
#E4B600 #FFD322 #FFDF5F #FFEB9C #FFF7D9

Accessibility & contrast

On white

1.31
#FFDF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFDF5F#FFFFFF#000000##000000
##FFDF5F1.001.3115.9715.97
#FFFFFF1.311.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB50
Deuteranopia (green-blind)
#FCE565
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ffdf5f;
/* rgb */ color: rgb(255, 223, 95);
/* oklch */ color: oklch(90.7% 0.149 95.2);
Tailwind
colors: {
  custom: {
    50: '#ffe891',
    500: '#ffdf5f',
    950: '#000000',
  },
}
SCSS
$custom: #ffdf5f;
$custom-light: #ffe891;
$custom-dark: #000000;
JSON
{
  "hex": "#ffdf5f",
  "rgb": {
    "r": 255,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 48,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.90701,
    "c": 0.14883,
    "h": 95.2
  },
  "luminance": 0.74862
}

Semantic roles & 50–950 ramp

primary
#FFDF5F
secondary
#294CD9
accent
#2EE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160D
muted
#87847F

Preview Lab

Preview with #FFDF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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