#FDF296#FDF296

#FDF296 is a very light, moderate yellow. Relative luminance 0.866; OKLCH L 95.0% C 0.114 H 102.4°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#FDF296
RGBrgb(253, 242, 150)
HSLhsl(54, 96%, 79%)
HSVhsv(54, 41%, 99%)
CMYKcmyk(0%, 4.3%, 40.7%, 0.8%)
CIE-LABlab(94.56, -8.92, 45.66)
CIE-LCHlch(94.56, 46.52, 101.05°)
OKLaboklab(95% -0.0244 0.1111)
OKLCHoklch(95% 0.114 102.4)
XYZxyz(77.7667, 86.5911, 41.4655)
Luminance0.8659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF296 #96A1FD
analogous
#FDBF96 #FDF296 #D5FD96
triadic
#FDF296 #96FDF2 #F296FD
tetradic
#FDF296 #96FDBF #96A1FD #FD96D5
square
#FDF296 #96FDBF #96A1FD #FD96D5
split-complementary
#FDF296 #96D5FD #BF96FD
monochromatic
#FBE31E #FCEB5A #FDF296 #FEF9D2 #FEFBE1

Accessibility & contrast

On white

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

On black

18.32
#FDF296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF296
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF296#FFFFFF#000000##000000
##FDF2961.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FFF29A
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf296;
/* rgb */ color: rgb(253, 242, 150);
/* oklch */ color: oklch(95.0% 0.114 102.4);
Tailwind
colors: {
  custom: {
    50: '#fff6b6',
    500: '#fdf296',
    950: '#000000',
  },
}
SCSS
$custom: #fdf296;
$custom-light: #fff6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf296",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 53.592,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95004,
    "c": 0.11372,
    "h": 102.4
  },
  "luminance": 0.86589
}

Semantic roles & 50–950 ramp

primary
#FDF296
secondary
#5967DF
accent
#19E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF296

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

Preview Lab → · Contrast checker → · Palette generator →

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