#FDF99B#FDF99B

#FDF99B is a very light, moderate yellow. Relative luminance 0.910; OKLCH L 96.5% C 0.116 H 106.3°. Best body text is #000000 at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#FDF99B
RGBrgb(253, 249, 155)
HSLhsl(58, 96%, 80%)
HSVhsv(58, 39%, 99%)
CMYKcmyk(0%, 1.6%, 38.7%, 0.8%)
CIE-LABlab(96.41, -11.85, 45.57)
CIE-LCHlch(96.41, 47.09, 104.58°)
OKLaboklab(96.49% -0.0324 0.1111)
OKLCHoklch(96.49% 0.116 106.3)
XYZxyz(80.3013, 91.0024, 44.3391)
Luminance0.9100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF99B #9B9FFD
analogous
#FDC89B #FDF99B #D0FD9B
triadic
#FDF99B #9BFDF9 #F99BFD
tetradic
#FDF99B #9BFDC8 #9B9FFD #FD9BD0
square
#FDF99B #9BFDC8 #9B9FFD #FD9BD0
split-complementary
#FDF99B #9BD0FD #C89BFD
monochromatic
#FBF223 #FCF55F #FDF99B #FEFDD7 #FEFDE1

Accessibility & contrast

On white

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

On black

19.20
#FDF99B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF99B
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF99B#FFFFFF#000000##000000
##FDF99B1.001.0919.2019.20
#FFFFFF1.091.0021.0021.00
#00000019.2021.001.001.00
##00000019.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf99b;
/* rgb */ color: rgb(253, 249, 155);
/* oklch */ color: oklch(96.5% 0.116 106.3);
Tailwind
colors: {
  custom: {
    50: '#fffbb9',
    500: '#fdf99b',
    950: '#000000',
  },
}
SCSS
$custom: #fdf99b;
$custom-light: #fffbb9;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf99b",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 155
  },
  "hsl": {
    "h": 57.551,
    "s": 96.078,
    "l": 80
  },
  "oklch": {
    "l": 0.96492,
    "c": 0.11576,
    "h": 106.3
  },
  "luminance": 0.91001
}

Semantic roles & 50–950 ramp

primary
#FDF99B
secondary
#5D62DF
accent
#09E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FDF99B

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

Preview Lab → · Contrast checker → · Palette generator →

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