#FFFC94#FFFC94

#FFFC94 is a very light, vivid yellow. Relative luminance 0.930; OKLCH L 97.2% C 0.126 H 107.1°. Best body text is #000000 at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#FFFC94
RGBrgb(255, 252, 148)
HSLhsl(58, 100%, 79%)
HSVhsv(58, 42%, 100%)
CMYKcmyk(0%, 1.2%, 42%, 0%)
CIE-LABlab(97.24, -13.27, 50.02)
CIE-LCHlch(97.24, 51.75, 104.86°)
OKLaboklab(97.15% -0.0371 0.1208)
OKLCHoklch(97.15% 0.126 107.1)
XYZxyz(81.3972, 93.0208, 41.6782)
Luminance0.9302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC94 #9497FF
analogous
#FFC794 #FFFC94 #CDFF94
triadic
#FFFC94 #94FFFC #FC94FF
tetradic
#FFFC94 #94FFC7 #9497FF #FF94CD
square
#FFFC94 #94FFC7 #9497FF #FF94CD
split-complementary
#FFFC94 #94CDFF #C794FF
monochromatic
#FFF91A #FFFA57 #FFFC94 #FFFED1 #FFFEE0

Accessibility & contrast

On white

1.07
#FFFC94 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.60
#FFFC94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC94
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC94#FFFFFF#000000##000000
##FFFC941.001.0719.6019.60
#FFFFFF1.071.0021.0021.00
#00000019.6021.001.001.00
##00000019.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF58C
Deuteranopia (green-blind)
#FFF999
Tritanopia (blue-blind)
#FFF0E3
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc94;
/* rgb */ color: rgb(255, 252, 148);
/* oklch */ color: oklch(97.2% 0.126 107.1);
Tailwind
colors: {
  custom: {
    50: '#fffdb5',
    500: '#fffc94',
    950: '#000000',
  },
}
SCSS
$custom: #fffc94;
$custom-light: #fffdb5;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc94",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 148
  },
  "hsl": {
    "h": 58.318,
    "s": 100,
    "l": 79.02
  },
  "oklch": {
    "l": 0.97154,
    "c": 0.12636,
    "h": 107.1
  },
  "luminance": 0.93019
}

Semantic roles & 50–950 ramp

primary
#FFFC94
secondary
#565AE1
accent
#06E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFC94

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

Preview Lab → · Contrast checker → · Palette generator →

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