#FDF96B#FDF96B

#FDF96B is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.9% C 0.162 H 107.6°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#FDF96B
RGBrgb(253, 249, 107)
HSLhsl(58, 97%, 71%)
HSVhsv(58, 58%, 99%)
CMYKcmyk(0%, 1.6%, 57.7%, 0.8%)
CIE-LABlab(95.87, -16.01, 66.98)
CIE-LCHlch(95.87, 68.87, 103.45°)
OKLaboklab(95.89% -0.0488 0.1542)
OKLCHoklch(95.89% 0.162 107.6)
XYZxyz(77.0399, 89.6978, 27.1623)
Luminance0.8970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF96B #6B6FFD
analogous
#FDB06B #FDF96B #B8FD6B
triadic
#FDF96B #6BFDF9 #F96BFD
tetradic
#FDF96B #6BFDB0 #6B6FFD #FD6BB8
square
#FDF96B #6BFDB0 #6B6FFD #FD6BB8
split-complementary
#FDF96B #6BB8FD #B06BFD
monochromatic
#EAE403 #FCF72F #FDF96B #FEFBA7 #FFFEE1

Accessibility & contrast

On white

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

On black

18.94
#FDF96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF96B
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF96B#FFFFFF#000000##000000
##FDF96B1.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05B
Deuteranopia (green-blind)
#FFF673
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf96b;
/* rgb */ color: rgb(253, 249, 107);
/* oklch */ color: oklch(95.9% 0.162 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffb9a',
    500: '#fdf96b',
    950: '#000000',
  },
}
SCSS
$custom: #fdf96b;
$custom-light: #fffb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf96b",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 107
  },
  "hsl": {
    "h": 58.356,
    "s": 97.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95887,
    "c": 0.16171,
    "h": 107.6
  },
  "luminance": 0.89696
}

Semantic roles & 50–950 ramp

primary
#FDF96B
secondary
#3438D8
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF96B

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

Preview Lab → · Contrast checker → · Palette generator →

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