#FDF96F#FDF96F

#FDF96F is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.9% C 0.158 H 107.5°. Best body text is #000000 at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#FDF96F
RGBrgb(253, 249, 111)
HSLhsl(58, 97%, 71%)
HSVhsv(58, 56%, 99%)
CMYKcmyk(0%, 1.6%, 56.1%, 0.8%)
CIE-LABlab(95.91, -15.73, 65.31)
CIE-LCHlch(95.91, 67.18, 103.55°)
OKLaboklab(95.93% -0.0476 0.1511)
OKLCHoklch(95.93% 0.158 107.5)
XYZxyz(77.2552, 89.7839, 28.2963)
Luminance0.8978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF96F #6F73FD
analogous
#FDB26F #FDF96F #BAFD6F
triadic
#FDF96F #6FFDF9 #F96FFD
tetradic
#FDF96F #6FFDB2 #6F73FD #FD6FBA
square
#FDF96F #6FFDB2 #6F73FD #FD6FBA
split-complementary
#FDF96F #6FBAFD #B26FFD
monochromatic
#EEE803 #FCF633 #FDF96F #FEFCAB #FFFEE1

Accessibility & contrast

On white

1.11
#FDF96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.96
#FDF96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF96F
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF96F#FFFFFF#000000##000000
##FDF96F1.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF060
Deuteranopia (green-blind)
#FFF677
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf96f;
/* rgb */ color: rgb(253, 249, 111);
/* oklch */ color: oklch(95.9% 0.158 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffb9d',
    500: '#fdf96f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf96f;
$custom-light: #fffb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf96f",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 111
  },
  "hsl": {
    "h": 58.31,
    "s": 97.26,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95927,
    "c": 0.1584,
    "h": 107.5
  },
  "luminance": 0.89782
}

Semantic roles & 50–950 ramp

primary
#FDF96F
secondary
#373CD9
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF96F

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

Preview Lab → · Contrast checker → · Palette generator →

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