#FCF27A#FCF27A

#FCF27A is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.142 H 104.5°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#FCF27A
RGBrgb(252, 242, 122)
HSLhsl(55, 96%, 73%)
HSVhsv(55, 52%, 99%)
CMYKcmyk(0%, 4%, 51.6%, 1.2%)
CIE-LABlab(94.14, -11.88, 58.39)
CIE-LCHlch(94.14, 59.58, 101.50°)
OKLaboklab(94.54% -0.0354 0.1373)
OKLCHoklch(94.54% 0.142 104.5)
XYZxyz(75.4120, 85.6072, 30.9600)
Luminance0.8560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF27A #7A84FC
analogous
#FCB17A #FCF27A #C5FC7A
triadic
#FCF27A #7AFCF2 #F27AFC
tetradic
#FCF27A #7AFCB1 #7A84FC #FC7AC5
square
#FCF27A #7AFCB1 #7A84FC #FC7AC5
split-complementary
#FCF27A #7AC5FC #B17AFC
monochromatic
#F6E406 #FBEC3E #FCF27A #FDF8B6 #FEFCE1

Accessibility & contrast

On white

1.16
#FCF27A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#FCF27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF27A
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF27A#FFFFFF#000000##000000
##FCF27A1.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6F
Deuteranopia (green-blind)
#FFF180
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf27a;
/* rgb */ color: rgb(252, 242, 122);
/* oklch */ color: oklch(94.5% 0.142 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff6a3',
    500: '#fcf27a',
    950: '#000000',
  },
}
SCSS
$custom: #fcf27a;
$custom-light: #fff6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf27a",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 122
  },
  "hsl": {
    "h": 55.385,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94541,
    "c": 0.14183,
    "h": 104.5
  },
  "luminance": 0.85605
}

Semantic roles & 50–950 ramp

primary
#FCF27A
secondary
#414DD9
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF27A

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

Preview Lab → · Contrast checker → · Palette generator →

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