#FFFD5B#FFFD5B

#FFFD5B is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.7% C 0.177 H 108.6°. Best body text is #000000 at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#FFFD5B
RGBrgb(255, 253, 91)
HSLhsl(59, 100%, 68%)
HSVhsv(59, 64%, 100%)
CMYKcmyk(0%, 0.8%, 64.3%, 0%)
CIE-LABlab(96.93, -18.14, 74.60)
CIE-LCHlch(96.93, 76.77, 103.66°)
OKLaboklab(96.73% -0.0566 0.168)
OKLCHoklch(96.73% 0.177 108.6)
XYZxyz(78.2562, 92.2682, 23.5828)
Luminance0.9227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFD5B #5B5DFF
analogous
#FFAB5B #FFFD5B #AFFF5B
triadic
#FFFD5B #5BFFFD #FD5BFF
tetradic
#FFFD5B #5BFFAB #5B5DFF #FF5BAF
square
#FFFD5B #5BFFAB #5B5DFF #FF5BAF
split-complementary
#FFFD5B #5BAFFF #AB5BFF
monochromatic
#E0DD00 #FFFC1E #FFFD5B #FFFE98 #FFFED5

Accessibility & contrast

On white

1.08
#FFFD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.45
#FFFD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFD5B
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFD5B#FFFFFF#000000##000000
##FFFD5B1.001.0819.4519.45
#FFFFFF1.081.0021.0021.00
#00000019.4521.001.001.00
##00000019.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF345
Deuteranopia (green-blind)
#FFF966
Tritanopia (blue-blind)
#FFEEDC
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffd5b;
/* rgb */ color: rgb(255, 253, 91);
/* oklch */ color: oklch(96.7% 0.177 108.6);
Tailwind
colors: {
  custom: {
    50: '#fffd91',
    500: '#fffd5b',
    950: '#000000',
  },
}
SCSS
$custom: #fffd5b;
$custom-light: #fffd91;
$custom-dark: #000000;
JSON
{
  "hex": "#fffd5b",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 91
  },
  "hsl": {
    "h": 59.268,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.96729,
    "c": 0.17732,
    "h": 108.6
  },
  "luminance": 0.92266
}

Semantic roles & 50–950 ramp

primary
#FFFD5B
secondary
#2628D8
accent
#03E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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