#FFFC8F#FFFC8F

#FFFC8F is a very light, vivid yellow. Relative luminance 0.929; OKLCH L 97.1% C 0.132 H 107.2°. Best body text is #000000 at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#FFFC8F
RGBrgb(255, 252, 143)
HSLhsl(58, 100%, 78%)
HSVhsv(58, 44%, 100%)
CMYKcmyk(0%, 1.2%, 43.9%, 0%)
CIE-LABlab(97.17, -13.75, 52.32)
CIE-LCHlch(97.17, 54.10, 104.73°)
OKLaboklab(97.08% -0.0389 0.1256)
OKLCHoklch(97.08% 0.132 107.2)
XYZxyz(81.0099, 92.8659, 39.6388)
Luminance0.9286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC8F #8F92FF
analogous
#FFC48F #FFFC8F #CAFF8F
triadic
#FFFC8F #8FFFFC #FC8FFF
tetradic
#FFFC8F #8FFFC4 #8F92FF #FF8FCA
square
#FFFC8F #8FFFC4 #8F92FF #FF8FCA
split-complementary
#FFFC8F #8FCAFF #C48FFF
monochromatic
#FFF915 #FFFA52 #FFFC8F #FFFECC #FFFEE0

Accessibility & contrast

On white

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

On black

19.57
#FFFC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC8F
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC8F#FFFFFF#000000##000000
##FFFC8F1.001.0719.5719.57
#FFFFFF1.071.0021.0021.00
#00000019.5721.001.001.00
##00000019.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF486
Deuteranopia (green-blind)
#FFF994
Tritanopia (blue-blind)
#FFF0E2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffc8f;
/* rgb */ color: rgb(255, 252, 143);
/* oklch */ color: oklch(97.1% 0.132 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffdb2',
    500: '#fffc8f',
    950: '#000000',
  },
}
SCSS
$custom: #fffc8f;
$custom-light: #fffdb2;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc8f",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 143
  },
  "hsl": {
    "h": 58.393,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.97084,
    "c": 0.13151,
    "h": 107.2
  },
  "luminance": 0.92864
}

Semantic roles & 50–950 ramp

primary
#FFFC8F
secondary
#5256E0
accent
#06E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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