#FFFC3C#FFFC3C

#FFFC3C is a very light, vivid yellow. Relative luminance 0.912; OKLCH L 96.3% C 0.194 H 108.6°. Best body text is #000000 at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#FFFC3C
RGBrgb(255, 252, 60)
HSLhsl(59, 100%, 62%)
HSVhsv(59, 76%, 100%)
CMYKcmyk(0%, 1.2%, 76.5%, 0%)
CIE-LABlab(96.50, -19.05, 84.54)
CIE-LCHlch(96.50, 86.66, 102.70°)
OKLaboklab(96.33% -0.0619 0.184)
OKLCHoklch(96.33% 0.194 108.6)
XYZxyz(76.8690, 91.2096, 17.8301)
Luminance0.9121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC3C #3C3FFF
analogous
#FF9B3C #FFFC3C #A1FF3C
triadic
#FFFC3C #3CFFFC #FC3CFF
tetradic
#FFFC3C #3CFF9B #3C3FFF #FF3CA1
square
#FFFC3C #3CFF9B #3C3FFF #FF3CA1
split-complementary
#FFFC3C #3CA1FF #9B3CFF
monochromatic
#C1BE00 #FEFA00 #FFFC3C #FFFD79 #FFFEB6

Accessibility & contrast

On white

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

On black

19.24
#FFFC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC3C
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC3C#FFFFFF#000000##000000
##FFFC3C1.001.0919.2419.24
#FFFFFF1.091.0021.0021.00
#00000019.2421.001.001.00
##00000019.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF200
Deuteranopia (green-blind)
#FFF84D
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc3c;
/* rgb */ color: rgb(255, 252, 60);
/* oklch */ color: oklch(96.3% 0.194 108.6);
Tailwind
colors: {
  custom: {
    50: '#fffd81',
    500: '#fffc3c',
    950: '#000000',
  },
}
SCSS
$custom: #fffc3c;
$custom-light: #fffd81;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc3c",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 60
  },
  "hsl": {
    "h": 59.077,
    "s": 100,
    "l": 61.765
  },
  "oklch": {
    "l": 0.96327,
    "c": 0.1941,
    "h": 108.6
  },
  "luminance": 0.91207
}

Semantic roles & 50–950 ramp

primary
#FFFC3C
secondary
#2124BE
accent
#04E600
background
#FFFFFC
surface
#FFFFF3
border
#D7D7CD
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFFC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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