#FCF86A#FCF86A

#FCF86A is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.6% C 0.162 H 107.6°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#FCF86A
RGBrgb(252, 248, 106)
HSLhsl(58, 96%, 70%)
HSVhsv(58, 58%, 99%)
CMYKcmyk(0%, 1.6%, 57.9%, 1.2%)
CIE-LABlab(95.53, -16.00, 67.00)
CIE-LCHlch(95.53, 68.88, 103.43°)
OKLaboklab(95.59% -0.0488 0.1541)
OKLCHoklch(95.59% 0.162 107.6)
XYZxyz(76.3162, 88.8731, 26.7670)
Luminance0.8887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF86A #6A6EFC
analogous
#FCAF6A #FCF86A #B7FC6A
triadic
#FCF86A #6AFCF8 #F86AFC
tetradic
#FCF86A #6AFCAF #6A6EFC #FC6AB7
square
#FCF86A #6AFCAF #6A6EFC #FC6AB7
split-complementary
#FCF86A #6AB7FC #AF6AFC
monochromatic
#E7E105 #FBF52E #FCF86A #FDFBA6 #FEFEE1

Accessibility & contrast

On white

1.12
#FCF86A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.77
#FCF86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF86A
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF86A#FFFFFF#000000##000000
##FCF86A1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5A
Deuteranopia (green-blind)
#FFF572
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf86a;
/* rgb */ color: rgb(252, 248, 106);
/* oklch */ color: oklch(95.6% 0.162 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffa9a',
    500: '#fcf86a',
    950: '#000000',
  },
}
SCSS
$custom: #fcf86a;
$custom-light: #fffa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf86a",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 106
  },
  "hsl": {
    "h": 58.356,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95592,
    "c": 0.16165,
    "h": 107.6
  },
  "luminance": 0.88871
}

Semantic roles & 50–950 ramp

primary
#FCF86A
secondary
#3338D7
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FCF86A

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

Preview Lab → · Contrast checker → · Palette generator →

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