#FFFD8A#FFFD8A

#FFFD8A is a very light, vivid yellow. Relative luminance 0.933; OKLCH L 97.2% C 0.138 H 107.8°. Best body text is #000000 at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#FFFD8A
RGBrgb(255, 253, 138)
HSLhsl(59, 100%, 77%)
HSVhsv(59, 46%, 100%)
CMYKcmyk(0%, 0.8%, 45.9%, 0%)
CIE-LABlab(97.37, -14.70, 54.91)
CIE-LCHlch(97.37, 56.84, 104.99°)
OKLaboklab(97.22% -0.0421 0.131)
OKLCHoklch(97.22% 0.138 107.8)
XYZxyz(80.9544, 93.3475, 37.7932)
Luminance0.9335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD8A #8A8CFF
analogous
#FFC28A #FFFD8A #C7FF8A
triadic
#FFFD8A #8AFFFD #FD8AFF
tetradic
#FFFD8A #8AFFC2 #8A8CFF #FF8AC7
square
#FFFD8A #8AFFC2 #8A8CFF #FF8AC7
split-complementary
#FFFD8A #8AC7FF #C28AFF
monochromatic
#FFFB10 #FFFC4D #FFFD8A #FFFEC7 #FFFEE0

Accessibility & contrast

On white

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

On black

19.67
#FFFD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD8A
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD8A#FFFFFF#000000##000000
##FFFD8A1.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF580
Deuteranopia (green-blind)
#FFFA8F
Tritanopia (blue-blind)
#FFF0E2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffd8a;
/* rgb */ color: rgb(255, 253, 138);
/* oklch */ color: oklch(97.2% 0.138 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffdae',
    500: '#fffd8a',
    950: '#000000',
  },
}
SCSS
$custom: #fffd8a;
$custom-light: #fffdae;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd8a",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 138
  },
  "hsl": {
    "h": 58.974,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.9722,
    "c": 0.1376,
    "h": 107.8
  },
  "luminance": 0.93346
}

Semantic roles & 50–950 ramp

primary
#FFFD8A
secondary
#4E50E0
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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