#FDFA97#FDFA97

#FDFA97 is a very light, vivid yellow. Relative luminance 0.915; OKLCH L 96.6% C 0.121 H 107.0°. Best body text is #000000 at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#FDFA97
RGBrgb(253, 250, 151)
HSLhsl(58, 96%, 79%)
HSVhsv(58, 40%, 99%)
CMYKcmyk(0%, 1.2%, 40.3%, 0.8%)
CIE-LABlab(96.61, -12.76, 47.76)
CIE-LCHlch(96.61, 49.44, 104.95°)
OKLaboklab(96.63% -0.0353 0.1159)
OKLCHoklch(96.63% 0.121 107)
XYZxyz(80.2809, 91.4900, 42.7025)
Luminance0.9149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDFA97 #979AFD
analogous
#FDC797 #FDFA97 #CDFD97
triadic
#FDFA97 #97FDFA #FA97FD
tetradic
#FDFA97 #97FDC7 #979AFD #FD97CD
square
#FDFA97 #97FDC7 #979AFD #FD97CD
split-complementary
#FDFA97 #97CDFD #C797FD
monochromatic
#FBF41F #FCF75B #FDFA97 #FEFDD3 #FEFEE1

Accessibility & contrast

On white

1.09
#FDFA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.30
#FDFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDFA97
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDFA97#FFFFFF#000000##000000
##FDFA971.001.0919.3019.30
#FFFFFF1.091.0021.0021.00
#00000019.3021.001.001.00
##00000019.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF38F
Deuteranopia (green-blind)
#FFF79B
Tritanopia (blue-blind)
#FFEEE2
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fdfa97;
/* rgb */ color: rgb(253, 250, 151);
/* oklch */ color: oklch(96.6% 0.121 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffbb7',
    500: '#fdfa97',
    950: '#000000',
  },
}
SCSS
$custom: #fdfa97;
$custom-light: #fffbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fdfa97",
  "rgb": {
    "r": 253,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 58.235,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.96633,
    "c": 0.12116,
    "h": 107
  },
  "luminance": 0.91488
}

Semantic roles & 50–950 ramp

primary
#FDFA97
secondary
#595DDF
accent
#07E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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