#FDF596#FDF596

#FDF596 is a very light, moderate yellow. Relative luminance 0.884; OKLCH L 95.6% C 0.117 H 104.2°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#FDF596
RGBrgb(253, 245, 150)
HSLhsl(55, 96%, 79%)
HSVhsv(55, 41%, 99%)
CMYKcmyk(0%, 3.2%, 40.7%, 0.8%)
CIE-LABlab(95.33, -10.40, 46.62)
CIE-LCHlch(95.33, 47.77, 102.58°)
OKLaboklab(95.61% -0.0286 0.1133)
OKLCHoklch(95.61% 0.117 104.2)
XYZxyz(78.6669, 88.3915, 41.7655)
Luminance0.8839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF596 #969EFD
analogous
#FDC296 #FDF596 #D2FD96
triadic
#FDF596 #96FDF5 #F596FD
tetradic
#FDF596 #96FDC2 #969EFD #FD96D2
square
#FDF596 #96FDC2 #969EFD #FD96D2
split-complementary
#FDF596 #96D2FD #C296FD
monochromatic
#FBEA1E #FCEF5A #FDF596 #FEFBD2 #FEFCE1

Accessibility & contrast

On white

1.12
#FDF596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.68
#FDF596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF596
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF596#FFFFFF#000000##000000
##FDF5961.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#FFF49A
Tritanopia (blue-blind)
#FFE9DE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf596;
/* rgb */ color: rgb(253, 245, 150);
/* oklch */ color: oklch(95.6% 0.117 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff8b6',
    500: '#fdf596',
    950: '#000000',
  },
}
SCSS
$custom: #fdf596;
$custom-light: #fff8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf596",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 150
  },
  "hsl": {
    "h": 55.34,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95608,
    "c": 0.11683,
    "h": 104.2
  },
  "luminance": 0.88389
}

Semantic roles & 50–950 ramp

primary
#FDF596
secondary
#5963DF
accent
#12E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF596

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

Preview Lab → · Contrast checker → · Palette generator →

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