#FFFD5F#FFFD5F

#FFFD5F is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.8% C 0.175 H 108.6°. Best body text is #000000 at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#FFFD5F
RGBrgb(255, 253, 95)
HSLhsl(59, 100%, 69%)
HSVhsv(59, 63%, 100%)
CMYKcmyk(0%, 0.8%, 62.7%, 0%)
CIE-LABlab(96.96, -17.91, 73.08)
CIE-LCHlch(96.96, 75.25, 103.77°)
OKLaboklab(96.76% -0.0556 0.1654)
OKLCHoklch(96.76% 0.175 108.6)
XYZxyz(78.4334, 92.3391, 24.5159)
Luminance0.9234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD5F #5F61FF
analogous
#FFAD5F #FFFD5F #B1FF5F
triadic
#FFFD5F #5FFFFD #FD5FFF
tetradic
#FFFD5F #5FFFAD #5F61FF #FF5FB1
square
#FFFD5F #5FFFAD #5F61FF #FF5FB1
split-complementary
#FFFD5F #5FB1FF #AD5FFF
monochromatic
#E4E100 #FFFC22 #FFFD5F #FFFE9C #FFFFD9

Accessibility & contrast

On white

1.08
#FFFD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.47
#FFFD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD5F
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD5F#FFFFFF#000000##000000
##FFFD5F1.001.0819.4719.47
#FFFFFF1.081.0021.0021.00
#00000019.4721.001.001.00
##00000019.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF34A
Deuteranopia (green-blind)
#FFF969
Tritanopia (blue-blind)
#FFEEDC
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffd5f;
/* rgb */ color: rgb(255, 253, 95);
/* oklch */ color: oklch(96.8% 0.175 108.6);
Tailwind
colors: {
  custom: {
    50: '#fffd93',
    500: '#fffd5f',
    950: '#000000',
  },
}
SCSS
$custom: #fffd5f;
$custom-light: #fffd93;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd5f",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 95
  },
  "hsl": {
    "h": 59.25,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.96761,
    "c": 0.17452,
    "h": 108.6
  },
  "luminance": 0.92337
}

Semantic roles & 50–950 ramp

primary
#FFFD5F
secondary
#292BD9
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFFD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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