#FFF99D#FFF99D

#FFF99D is a very light, moderate yellow. Relative luminance 0.914; OKLCH L 96.7% C 0.114 H 105.1°. Best body text is #000000 at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#FFF99D
RGBrgb(255, 249, 157)
HSLhsl(56, 100%, 81%)
HSVhsv(56, 38%, 100%)
CMYKcmyk(0%, 2.4%, 38.4%, 0%)
CIE-LABlab(96.59, -10.88, 44.86)
CIE-LCHlch(96.59, 46.16, 103.63°)
OKLaboklab(96.68% -0.0296 0.1096)
OKLCHoklch(96.68% 0.114 105.1)
XYZxyz(81.2028, 91.4476, 45.2653)
Luminance0.9145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF99D #9DA3FF
analogous
#FFC89D #FFF99D #D4FF9D
triadic
#FFF99D #9DFFF9 #F99DFF
tetradic
#FFF99D #9DFFC8 #9DA3FF #FF9DD4
square
#FFF99D #9DFFC8 #9DA3FF #FF9DD4
split-complementary
#FFF99D #9DD4FF #C89DFF
monochromatic
#FFF223 #FFF560 #FFF99D #FFFDDA #FFFDE0

Accessibility & contrast

On white

1.09
#FFF99D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.29
#FFF99D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF99D
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF99D#FFFFFF#000000##000000
##FFF99D1.001.0919.2919.29
#FFFFFF1.091.0021.0021.00
#00000019.2921.001.001.00
##00000019.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF396
Deuteranopia (green-blind)
#FFF7A1
Tritanopia (blue-blind)
#FFEEE2
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fff99d;
/* rgb */ color: rgb(255, 249, 157);
/* oklch */ color: oklch(96.7% 0.114 105.1);
Tailwind
colors: {
  custom: {
    50: '#fffbbb',
    500: '#fff99d',
    950: '#000000',
  },
}
SCSS
$custom: #fff99d;
$custom-light: #fffbbb;
$custom-dark: #000000;
JSON
{
  "hex": "#fff99d",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 157
  },
  "hsl": {
    "h": 56.327,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.96684,
    "c": 0.1135,
    "h": 105.1
  },
  "luminance": 0.91446
}

Semantic roles & 50–950 ramp

primary
#FFF99D
secondary
#5E66E3
accent
#0EE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFF99D

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

Preview Lab → · Contrast checker → · Palette generator →

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