#FFFC4B#FFFC4B

#FFFC4B is a very light, vivid yellow. Relative luminance 0.914; OKLCH L 96.4% C 0.186 H 108.5°. Best body text is #000000 at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#FFFC4B
RGBrgb(255, 252, 75)
HSLhsl(59, 100%, 65%)
HSVhsv(59, 71%, 100%)
CMYKcmyk(0%, 1.2%, 70.6%, 0%)
CIE-LABlab(96.57, -18.46, 79.98)
CIE-LCHlch(96.57, 82.08, 103.00°)
OKLaboklab(96.41% -0.059 0.1768)
OKLCHoklch(96.41% 0.186 108.5)
XYZxyz(77.3233, 91.3913, 20.2224)
Luminance0.9139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC4B #4B4EFF
analogous
#FFA24B #FFFC4B #A8FF4B
triadic
#FFFC4B #4BFFFC #FC4BFF
tetradic
#FFFC4B #4BFFA2 #4B4EFF #FF4BA8
square
#FFFC4B #4BFFA2 #4B4EFF #FF4BA8
split-complementary
#FFFC4B #4BA8FF #A24BFF
monochromatic
#D0CC00 #FFFB0E #FFFC4B #FFFD88 #FFFEC5

Accessibility & contrast

On white

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

On black

19.28
#FFFC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC4B
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC4B#FFFFFF#000000##000000
##FFFC4B1.001.0919.2819.28
#FFFFFF1.091.0021.0021.00
#00000019.2821.001.001.00
##00000019.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF22A
Deuteranopia (green-blind)
#FFF858
Tritanopia (blue-blind)
#FFECDA
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc4b;
/* rgb */ color: rgb(255, 252, 75);
/* oklch */ color: oklch(96.4% 0.186 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffd88',
    500: '#fffc4b',
    950: '#000000',
  },
}
SCSS
$custom: #fffc4b;
$custom-light: #fffd88;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc4b",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 75
  },
  "hsl": {
    "h": 59,
    "s": 100,
    "l": 64.706
  },
  "oklch": {
    "l": 0.9641,
    "c": 0.18643,
    "h": 108.5
  },
  "luminance": 0.91389
}

Semantic roles & 50–950 ramp

primary
#FFFC4B
secondary
#2427CA
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFFC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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