#FDF896#FDF896

#FDF896 is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.2% C 0.120 H 105.9°. Best body text is #000000 at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#FDF896
RGBrgb(253, 248, 150)
HSLhsl(57, 96%, 79%)
HSVhsv(57, 41%, 99%)
CMYKcmyk(0%, 2%, 40.7%, 0.8%)
CIE-LABlab(96.09, -11.88, 47.59)
CIE-LCHlch(96.09, 49.05, 104.02°)
OKLaboklab(96.21% -0.0329 0.1154)
OKLCHoklch(96.21% 0.12 105.9)
XYZxyz(79.5818, 90.2214, 42.0705)
Luminance0.9022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF896 #969BFD
analogous
#FDC596 #FDF896 #CFFD96
triadic
#FDF896 #96FDF8 #F896FD
tetradic
#FDF896 #96FDC5 #969BFD #FD96CF
square
#FDF896 #96FDC5 #969BFD #FD96CF
split-complementary
#FDF896 #96CFFD #C596FD
monochromatic
#FBF01E #FCF45A #FDF896 #FEFCD2 #FEFDE1

Accessibility & contrast

On white

1.10
#FDF896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.04
#FDF896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF896
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF896#FFFFFF#000000##000000
##FDF8961.001.1019.0419.04
#FFFFFF1.101.0021.0021.00
#00000019.0421.001.001.00
##00000019.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18E
Deuteranopia (green-blind)
#FFF69A
Tritanopia (blue-blind)
#FFECE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf896;
/* rgb */ color: rgb(253, 248, 150);
/* oklch */ color: oklch(96.2% 0.120 105.9);
Tailwind
colors: {
  custom: {
    50: '#fffab6',
    500: '#fdf896',
    950: '#000000',
  },
}
SCSS
$custom: #fdf896;
$custom-light: #fffab6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf896",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 150
  },
  "hsl": {
    "h": 57.087,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.96213,
    "c": 0.12003,
    "h": 105.9
  },
  "luminance": 0.90219
}

Semantic roles & 50–950 ramp

primary
#FDF896
secondary
#595FDF
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF896

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

Preview Lab → · Contrast checker → · Palette generator →

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