#FFFC5B#FFFC5B

#FFFC5B is a very light, vivid yellow. Relative luminance 0.916; OKLCH L 96.5% C 0.176 H 108.3°. Best body text is #000000 at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#FFFC5B
RGBrgb(255, 252, 91)
HSLhsl(59, 100%, 68%)
HSVhsv(59, 64%, 100%)
CMYKcmyk(0%, 1.2%, 64.3%, 0%)
CIE-LABlab(96.67, -17.66, 74.33)
CIE-LCHlch(96.67, 76.40, 103.36°)
OKLaboklab(96.52% -0.0552 0.1675)
OKLCHoklch(96.52% 0.176 108.3)
XYZxyz(77.9414, 91.6385, 23.4778)
Luminance0.9164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC5B #5B5EFF
analogous
#FFAA5B #FFFC5B #B0FF5B
triadic
#FFFC5B #5BFFFC #FC5BFF
tetradic
#FFFC5B #5BFFAA #5B5EFF #FF5BB0
square
#FFFC5B #5BFFAA #5B5EFF #FF5BB0
split-complementary
#FFFC5B #5BB0FF #AA5BFF
monochromatic
#E0DC00 #FFFB1E #FFFC5B #FFFD98 #FFFED5

Accessibility & contrast

On white

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

On black

19.33
#FFFC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC5B
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC5B#FFFFFF#000000##000000
##FFFC5B1.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF245
Deuteranopia (green-blind)
#FFF865
Tritanopia (blue-blind)
#FFEDDB
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc5b;
/* rgb */ color: rgb(255, 252, 91);
/* oklch */ color: oklch(96.5% 0.176 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffd91',
    500: '#fffc5b',
    950: '#000000',
  },
}
SCSS
$custom: #fffc5b;
$custom-light: #fffd91;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc5b",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 91
  },
  "hsl": {
    "h": 58.902,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.96523,
    "c": 0.17636,
    "h": 108.3
  },
  "luminance": 0.91636
}

Semantic roles & 50–950 ramp

primary
#FFFC5B
secondary
#2629D8
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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