#FFFD8F#FFFD8F

#FFFD8F is a very light, vivid yellow. Relative luminance 0.935; OKLCH L 97.3% C 0.133 H 107.7°. Best body text is #000000 at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#FFFD8F
RGBrgb(255, 253, 143)
HSLhsl(59, 100%, 78%)
HSVhsv(59, 44%, 100%)
CMYKcmyk(0%, 0.8%, 43.9%, 0%)
CIE-LABlab(97.43, -14.24, 52.63)
CIE-LCHlch(97.43, 54.52, 105.14°)
OKLaboklab(97.29% -0.0403 0.1263)
OKLCHoklch(97.29% 0.133 107.7)
XYZxyz(81.3248, 93.4956, 39.7437)
Luminance0.9349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD8F #8F91FF
analogous
#FFC58F #FFFD8F #C9FF8F
triadic
#FFFD8F #8FFFFD #FD8FFF
tetradic
#FFFD8F #8FFFC5 #8F91FF #FF8FC9
square
#FFFD8F #8FFFC5 #8F91FF #FF8FC9
split-complementary
#FFFD8F #8FC9FF #C58FFF
monochromatic
#FFFB15 #FFFC52 #FFFD8F #FFFECC #FFFEE0

Accessibility & contrast

On white

1.07
#FFFD8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.70
#FFFD8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD8F
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD8F#FFFFFF#000000##000000
##FFFD8F1.001.0719.7019.70
#FFFFFF1.071.0021.0021.00
#00000019.7021.001.001.00
##00000019.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF586
Deuteranopia (green-blind)
#FFFA94
Tritanopia (blue-blind)
#FFF1E3
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffd8f;
/* rgb */ color: rgb(255, 253, 143);
/* oklch */ color: oklch(97.3% 0.133 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffdb2',
    500: '#fffd8f',
    950: '#000000',
  },
}
SCSS
$custom: #fffd8f;
$custom-light: #fffdb2;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd8f",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 143
  },
  "hsl": {
    "h": 58.929,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.97287,
    "c": 0.1326,
    "h": 107.7
  },
  "luminance": 0.93494
}

Semantic roles & 50–950 ramp

primary
#FFFD8F
secondary
#5254E0
accent
#04E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFD8F

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

Preview Lab → · Contrast checker → · Palette generator →

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