#FFFC76#FFFC76

#FFFC76 is a very light, vivid yellow. Relative luminance 0.922; OKLCH L 96.8% C 0.155 H 107.8°. Best body text is #000000 at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#FFFC76
RGBrgb(255, 252, 118)
HSLhsl(59, 100%, 73%)
HSVhsv(59, 54%, 100%)
CMYKcmyk(0%, 1.2%, 53.7%, 0%)
CIE-LABlab(96.90, -15.88, 63.43)
CIE-LCHlch(96.90, 65.39, 104.06°)
OKLaboklab(96.78% -0.0474 0.1478)
OKLCHoklch(96.78% 0.155 107.8)
XYZxyz(79.3226, 92.1910, 30.7522)
Luminance0.9219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC76 #7679FF
analogous
#FFB776 #FFFC76 #BDFF76
triadic
#FFFC76 #76FFFC #FC76FF
tetradic
#FFFC76 #76FFB7 #7679FF #FF76BD
square
#FFFC76 #76FFB7 #7679FF #FF76BD
split-complementary
#FFFC76 #76BDFF #B776FF
monochromatic
#FBF500 #FFFB39 #FFFC76 #FFFDB3 #FFFEE0

Accessibility & contrast

On white

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

On black

19.44
#FFFC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC76
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC76#FFFFFF#000000##000000
##FFFC761.001.0819.4419.44
#FFFFFF1.081.0021.0021.00
#00000019.4421.001.001.00
##00000019.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF369
Deuteranopia (green-blind)
#FFF97D
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffc76;
/* rgb */ color: rgb(255, 252, 118);
/* oklch */ color: oklch(96.8% 0.155 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffda1',
    500: '#fffc76',
    950: '#000000',
  },
}
SCSS
$custom: #fffc76;
$custom-light: #fffda1;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc76",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 118
  },
  "hsl": {
    "h": 58.686,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.96776,
    "c": 0.1552,
    "h": 107.8
  },
  "luminance": 0.92189
}

Semantic roles & 50–950 ramp

primary
#FFFC76
secondary
#3D40DD
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFC76

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

Preview Lab → · Contrast checker → · Palette generator →

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