#FDF396#FDF396

#FDF396 is a very light, moderate yellow. Relative luminance 0.872; OKLCH L 95.2% C 0.115 H 103.0°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#FDF396
RGBrgb(253, 243, 150)
HSLhsl(54, 96%, 79%)
HSVhsv(54, 41%, 99%)
CMYKcmyk(0%, 4%, 40.7%, 0.8%)
CIE-LABlab(94.82, -9.42, 45.98)
CIE-LCHlch(94.82, 46.94, 101.57°)
OKLaboklab(95.21% -0.0258 0.1118)
OKLCHoklch(95.21% 0.115 103)
XYZxyz(78.0651, 87.1880, 41.5650)
Luminance0.8719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF396 #96A0FD
analogous
#FDC096 #FDF396 #D4FD96
triadic
#FDF396 #96FDF3 #F396FD
tetradic
#FDF396 #96FDC0 #96A0FD #FD96D4
square
#FDF396 #96FDC0 #96A0FD #FD96D4
split-complementary
#FDF396 #96D4FD #C096FD
monochromatic
#FBE51E #FCEC5A #FDF396 #FEFAD2 #FEFCE1

Accessibility & contrast

On white

1.14
#FDF396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.44
#FDF396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF396
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF396#FFFFFF#000000##000000
##FDF3961.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FFF39A
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf396;
/* rgb */ color: rgb(253, 243, 150);
/* oklch */ color: oklch(95.2% 0.115 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff6b6',
    500: '#fdf396',
    950: '#000000',
  },
}
SCSS
$custom: #fdf396;
$custom-light: #fff6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf396",
  "rgb": {
    "r": 253,
    "g": 243,
    "b": 150
  },
  "hsl": {
    "h": 54.175,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95205,
    "c": 0.11475,
    "h": 103
  },
  "luminance": 0.87186
}

Semantic roles & 50–950 ramp

primary
#FDF396
secondary
#5966DF
accent
#16E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF396

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

Preview Lab → · Contrast checker → · Palette generator →

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