#FFFC57#FFFC57

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

Color values

HEX#FFFC57
RGBrgb(255, 252, 87)
HSLhsl(59, 100%, 67%)
HSVhsv(59, 66%, 100%)
CMYKcmyk(0%, 1.2%, 65.9%, 0%)
CIE-LABlab(96.64, -17.87, 75.81)
CIE-LCHlch(96.64, 77.89, 103.27°)
OKLaboklab(96.49% -0.0563 0.17)
OKLCHoklch(96.49% 0.179 108.3)
XYZxyz(77.7734, 91.5713, 22.5932)
Luminance0.9157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC57 #575AFF
analogous
#FFA857 #FFFC57 #AEFF57
triadic
#FFFC57 #57FFFC #FC57FF
tetradic
#FFFC57 #57FFA8 #575AFF #FF57AE
square
#FFFC57 #57FFA8 #575AFF #FF57AE
split-complementary
#FFFC57 #57AEFF #A857FF
monochromatic
#DCD800 #FFFB1A #FFFC57 #FFFD94 #FFFED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFC57#FFFFFF#000000##000000
##FFFC571.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)
#FFF23F
Deuteranopia (green-blind)
#FFF862
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc57;
/* rgb */ color: rgb(255, 252, 87);
/* oklch */ color: oklch(96.5% 0.179 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffd8f',
    500: '#fffc57',
    950: '#000000',
  },
}
SCSS
$custom: #fffc57;
$custom-light: #fffd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc57",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 87
  },
  "hsl": {
    "h": 58.929,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.96493,
    "c": 0.17906,
    "h": 108.3
  },
  "luminance": 0.91569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFC57

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

Preview Lab → · Contrast checker → · Palette generator →

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