#FCF27D#FCF27D

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

Color values

HEX#FCF27D
RGBrgb(252, 242, 125)
HSLhsl(55, 95%, 74%)
HSVhsv(55, 50%, 99%)
CMYKcmyk(0%, 4%, 50.4%, 1.2%)
CIE-LABlab(94.18, -11.63, 57.05)
CIE-LCHlch(94.18, 58.22, 101.52°)
OKLaboklab(94.58% -0.0344 0.1347)
OKLCHoklch(94.58% 0.139 104.3)
XYZxyz(75.6008, 85.6827, 31.9541)
Luminance0.8568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF27D #7D87FC
analogous
#FCB37D #FCF27D #C7FC7D
triadic
#FCF27D #7DFCF2 #F27DFC
tetradic
#FCF27D #7DFCB3 #7D87FC #FC7DC7
square
#FCF27D #7DFCB3 #7D87FC #FC7DC7
split-complementary
#FCF27D #7DC7FC #B37DFC
monochromatic
#F9E606 #FBEC41 #FCF27D #FDF8B9 #FEFCE1

Accessibility & contrast

On white

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

On black

18.14
#FCF27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF27D
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF27D#FFFFFF#000000##000000
##FCF27D1.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf27d;
/* rgb */ color: rgb(252, 242, 125);
/* oklch */ color: oklch(94.6% 0.139 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff6a5',
    500: '#fcf27d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf27d;
$custom-light: #fff6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf27d",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 125
  },
  "hsl": {
    "h": 55.276,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94577,
    "c": 0.13902,
    "h": 104.3
  },
  "luminance": 0.8568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF27D

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

Preview Lab → · Contrast checker → · Palette generator →

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