#FCF27C#FCF27C

#FCF27C is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.6% C 0.140 H 104.4°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#FCF27C
RGBrgb(252, 242, 124)
HSLhsl(55, 96%, 74%)
HSVhsv(55, 51%, 99%)
CMYKcmyk(0%, 4%, 50.8%, 1.2%)
CIE-LABlab(94.17, -11.71, 57.50)
CIE-LCHlch(94.17, 58.68, 101.51°)
OKLaboklab(94.57% -0.0348 0.1356)
OKLCHoklch(94.57% 0.14 104.4)
XYZxyz(75.5372, 85.6573, 31.6194)
Luminance0.8566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF27C #7C86FC
analogous
#FCB27C #FCF27C #C6FC7C
triadic
#FCF27C #7CFCF2 #F27CFC
tetradic
#FCF27C #7CFCB2 #7C86FC #FC7CC6
square
#FCF27C #7CFCB2 #7C86FC #FC7CC6
split-complementary
#FCF27C #7CC6FC #B27CFC
monochromatic
#F8E506 #FBEC40 #FCF27C #FDF8B8 #FEFCE1

Accessibility & contrast

On white

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

On black

18.13
#FCF27C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF27C
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF27C#FFFFFF#000000##000000
##FCF27C1.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB71
Deuteranopia (green-blind)
#FFF182
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf27c;
/* rgb */ color: rgb(252, 242, 124);
/* oklch */ color: oklch(94.6% 0.140 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff6a5',
    500: '#fcf27c',
    950: '#000000',
  },
}
SCSS
$custom: #fcf27c;
$custom-light: #fff6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf27c",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 124
  },
  "hsl": {
    "h": 55.313,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94565,
    "c": 0.13996,
    "h": 104.4
  },
  "luminance": 0.85655
}

Semantic roles & 50–950 ramp

primary
#FCF27C
secondary
#434EDA
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF27C

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

Preview Lab → · Contrast checker → · Palette generator →

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