#FFFC56#FFFC56

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

Color values

HEX#FFFC56
RGBrgb(255, 252, 86)
HSLhsl(59, 100%, 67%)
HSVhsv(59, 66%, 100%)
CMYKcmyk(0%, 1.2%, 66.3%, 0%)
CIE-LABlab(96.64, -17.93, 76.17)
CIE-LCHlch(96.64, 78.25, 103.24°)
OKLaboklab(96.49% -0.0565 0.1706)
OKLCHoklch(96.49% 0.18 108.3)
XYZxyz(77.7328, 91.5551, 22.3795)
Luminance0.9155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC56 #5659FF
analogous
#FFA856 #FFFC56 #AEFF56
triadic
#FFFC56 #56FFFC #FC56FF
tetradic
#FFFC56 #56FFA8 #5659FF #FF56AE
square
#FFFC56 #56FFA8 #5659FF #FF56AE
split-complementary
#FFFC56 #56AEFF #A856FF
monochromatic
#DBD700 #FFFB19 #FFFC56 #FFFD93 #FFFED0

Accessibility & contrast

On white

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

On black

19.31
#FFFC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC56
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC56#FFFFFF#000000##000000
##FFFC561.001.0919.3119.31
#FFFFFF1.091.0021.0021.00
#00000019.3121.001.001.00
##00000019.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF23D
Deuteranopia (green-blind)
#FFF861
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc56;
/* rgb */ color: rgb(255, 252, 86);
/* oklch */ color: oklch(96.5% 0.180 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffd8e',
    500: '#fffc56',
    950: '#000000',
  },
}
SCSS
$custom: #fffc56;
$custom-light: #fffd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc56",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 86
  },
  "hsl": {
    "h": 58.935,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.96485,
    "c": 0.17971,
    "h": 108.3
  },
  "luminance": 0.91553
}

Semantic roles & 50–950 ramp

primary
#FFFC56
secondary
#2528D4
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFC56

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

Preview Lab → · Contrast checker → · Palette generator →

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