#FFFD9B#FFFD9B

#FFFD9B is a very light, vivid yellow. Relative luminance 0.939; OKLCH L 97.5% C 0.120 H 107.4°. Best body text is #000000 at 19.78:1 contrast (WCAG AA passes).

Color values

HEX#FFFD9B
RGBrgb(255, 253, 155)
HSLhsl(59, 100%, 80%)
HSVhsv(59, 39%, 100%)
CMYKcmyk(0%, 0.8%, 39.2%, 0%)
CIE-LABlab(97.58, -13.05, 47.09)
CIE-LCHlch(97.58, 48.86, 105.49°)
OKLaboklab(97.46% -0.0359 0.1146)
OKLCHoklch(97.46% 0.12 107.4)
XYZxyz(82.2829, 93.8789, 44.7899)
Luminance0.9388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD9B #9B9DFF
analogous
#FFCB9B #FFFD9B #CFFF9B
triadic
#FFFD9B #9BFFFD #FD9BFF
tetradic
#FFFD9B #9BFFCB #9B9DFF #FF9BCF
square
#FFFD9B #9BFFCB #9B9DFF #FF9BCF
split-complementary
#FFFD9B #9BCFFF #CB9BFF
monochromatic
#FFFB21 #FFFC5E #FFFD9B #FFFED8 #FFFEE0

Accessibility & contrast

On white

1.06
#FFFD9B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.78
#FFFD9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD9B
19.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD9B#FFFFFF#000000##000000
##FFFD9B1.001.0619.7819.78
#FFFFFF1.061.0021.0021.00
#00000019.7821.001.001.00
##00000019.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF693
Deuteranopia (green-blind)
#FFFA9F
Tritanopia (blue-blind)
#FFF2E5
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffd9b;
/* rgb */ color: rgb(255, 253, 155);
/* oklch */ color: oklch(97.5% 0.120 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffeba',
    500: '#fffd9b',
    950: '#000000',
  },
}
SCSS
$custom: #fffd9b;
$custom-light: #fffeba;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd9b",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 155
  },
  "hsl": {
    "h": 58.8,
    "s": 100,
    "l": 80.392
  },
  "oklch": {
    "l": 0.9746,
    "c": 0.12007,
    "h": 107.4
  },
  "luminance": 0.93877
}

Semantic roles & 50–950 ramp

primary
#FFFD9B
secondary
#5C5FE2
accent
#05E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFD9B

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

Preview Lab → · Contrast checker → · Palette generator →

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