#FFFC7C#FFFC7C

#FFFC7C is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.8% C 0.150 H 107.7°. Best body text is #000000 at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#FFFC7C
RGBrgb(255, 252, 124)
HSLhsl(59, 100%, 74%)
HSVhsv(59, 51%, 100%)
CMYKcmyk(0%, 1.2%, 51.4%, 0%)
CIE-LABlab(96.96, -15.41, 60.83)
CIE-LCHlch(96.96, 62.76, 104.22°)
OKLaboklab(96.84% -0.0455 0.1428)
OKLCHoklch(96.84% 0.15 107.7)
XYZxyz(79.6905, 92.3382, 32.6901)
Luminance0.9234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC7C #7C7FFF
analogous
#FFBB7C #FFFC7C #C1FF7C
triadic
#FFFC7C #7CFFFC #FC7CFF
tetradic
#FFFC7C #7CFFBB #7C7FFF #FF7CC1
square
#FFFC7C #7CFFBB #7C7FFF #FF7CC1
split-complementary
#FFFC7C #7CC1FF #BB7CFF
monochromatic
#FFF902 #FFFB3F #FFFC7C #FFFDB9 #FFFEE0

Accessibility & contrast

On white

1.08
#FFFC7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.47
#FFFC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC7C
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC7C#FFFFFF#000000##000000
##FFFC7C1.001.0819.4719.47
#FFFFFF1.081.0021.0021.00
#00000019.4721.001.001.00
##00000019.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF370
Deuteranopia (green-blind)
#FFF983
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffc7c;
/* rgb */ color: rgb(255, 252, 124);
/* oklch */ color: oklch(96.8% 0.150 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffda5',
    500: '#fffc7c',
    950: '#000000',
  },
}
SCSS
$custom: #fffc7c;
$custom-light: #fffda5;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc7c",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 124
  },
  "hsl": {
    "h": 58.626,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.96843,
    "c": 0.14984,
    "h": 107.7
  },
  "luminance": 0.92336
}

Semantic roles & 50–950 ramp

primary
#FFFC7C
secondary
#4245DE
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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