#FFFD8B#FFFD8B

#FFFD8B is a very light, vivid yellow. Relative luminance 0.934; OKLCH L 97.2% C 0.137 H 107.8°. Best body text is #000000 at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#FFFD8B
RGBrgb(255, 253, 139)
HSLhsl(59, 100%, 77%)
HSVhsv(59, 45%, 100%)
CMYKcmyk(0%, 0.8%, 45.5%, 0%)
CIE-LABlab(97.38, -14.61, 54.45)
CIE-LCHlch(97.38, 56.38, 105.02°)
OKLaboklab(97.23% -0.0418 0.1301)
OKLCHoklch(97.23% 0.137 107.8)
XYZxyz(81.0272, 93.3766, 38.1763)
Luminance0.9337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD8B #8B8DFF
analogous
#FFC38B #FFFD8B #C7FF8B
triadic
#FFFD8B #8BFFFD #FD8BFF
tetradic
#FFFD8B #8BFFC3 #8B8DFF #FF8BC7
square
#FFFD8B #8BFFC3 #8B8DFF #FF8BC7
split-complementary
#FFFD8B #8BC7FF #C38BFF
monochromatic
#FFFB11 #FFFC4E #FFFD8B #FFFEC8 #FFFEE0

Accessibility & contrast

On white

1.07
#FFFD8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.68
#FFFD8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD8B
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD8B#FFFFFF#000000##000000
##FFFD8B1.001.0719.6819.68
#FFFFFF1.071.0021.0021.00
#00000019.6821.001.001.00
##00000019.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF581
Deuteranopia (green-blind)
#FFFA90
Tritanopia (blue-blind)
#FFF0E2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffd8b;
/* rgb */ color: rgb(255, 253, 139);
/* oklch */ color: oklch(97.2% 0.137 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffdaf',
    500: '#fffd8b',
    950: '#000000',
  },
}
SCSS
$custom: #fffd8b;
$custom-light: #fffdaf;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd8b",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 139
  },
  "hsl": {
    "h": 58.966,
    "s": 100,
    "l": 77.255
  },
  "oklch": {
    "l": 0.97233,
    "c": 0.13661,
    "h": 107.8
  },
  "luminance": 0.93375
}

Semantic roles & 50–950 ramp

primary
#FFFD8B
secondary
#4E51E0
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFD8B

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

Preview Lab → · Contrast checker → · Palette generator →

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