#FDF196#FDF196

#FDF196 is a very light, moderate yellow. Relative luminance 0.860; OKLCH L 94.8% C 0.113 H 101.7°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#FDF196
RGBrgb(253, 241, 150)
HSLhsl(53, 96%, 79%)
HSVhsv(53, 41%, 99%)
CMYKcmyk(0%, 4.7%, 40.7%, 0.8%)
CIE-LABlab(94.31, -8.42, 45.34)
CIE-LCHlch(94.31, 46.12, 100.53°)
OKLaboklab(94.8% -0.023 0.1104)
OKLCHoklch(94.8% 0.113 101.7)
XYZxyz(77.4699, 85.9974, 41.3665)
Luminance0.8599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF196 #96A2FD
analogous
#FDBE96 #FDF196 #D6FD96
triadic
#FDF196 #96FDF1 #F196FD
tetradic
#FDF196 #96FDBE #96A2FD #FD96D6
square
#FDF196 #96FDBE #96A2FD #FD96D6
split-complementary
#FDF196 #96D6FD #BE96FD
monochromatic
#FBE11E #FCE95A #FDF196 #FEF9D2 #FEFBE1

Accessibility & contrast

On white

1.15
#FDF196 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.20
#FDF196 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF196
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF196#FFFFFF#000000##000000
##FDF1961.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB8F
Deuteranopia (green-blind)
#FFF19A
Tritanopia (blue-blind)
#FFE5DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf196;
/* rgb */ color: rgb(253, 241, 150);
/* oklch */ color: oklch(94.8% 0.113 101.7);
Tailwind
colors: {
  custom: {
    50: '#fff5b6',
    500: '#fdf196',
    950: '#000000',
  },
}
SCSS
$custom: #fdf196;
$custom-light: #fff5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf196",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 150
  },
  "hsl": {
    "h": 53.01,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.94803,
    "c": 0.11271,
    "h": 101.7
  },
  "luminance": 0.85995
}

Semantic roles & 50–950 ramp

primary
#FDF196
secondary
#5968DF
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF196

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

Preview Lab → · Contrast checker → · Palette generator →

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