#FCF27E#FCF27E

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

Color values

HEX#FCF27E
RGBrgb(252, 242, 126)
HSLhsl(55, 95%, 74%)
HSVhsv(55, 50%, 99%)
CMYKcmyk(0%, 4%, 50%, 1.2%)
CIE-LABlab(94.19, -11.55, 56.60)
CIE-LCHlch(94.19, 57.77, 101.53°)
OKLaboklab(94.59% -0.0341 0.1338)
OKLCHoklch(94.59% 0.138 104.3)
XYZxyz(75.6650, 85.7084, 32.2922)
Luminance0.8571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF27E #7E88FC
analogous
#FCB37E #FCF27E #C7FC7E
triadic
#FCF27E #7EFCF2 #F27EFC
tetradic
#FCF27E #7EFCB3 #7E88FC #FC7EC7
square
#FCF27E #7EFCB3 #7E88FC #FC7EC7
split-complementary
#FCF27E #7EC7FC #B37EFC
monochromatic
#F9E606 #FBEC42 #FCF27E #FDF8BA #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FCF27E#FFFFFF#000000##000000
##FCF27E1.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)
#FFEB73
Deuteranopia (green-blind)
#FFF183
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf27e;
/* rgb */ color: rgb(252, 242, 126);
/* oklch */ color: oklch(94.6% 0.138 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff6a6',
    500: '#fcf27e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf27e;
$custom-light: #fff6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf27e",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 126
  },
  "hsl": {
    "h": 55.238,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94589,
    "c": 0.13807,
    "h": 104.3
  },
  "luminance": 0.85706
}

Semantic roles & 50–950 ramp

primary
#FCF27E
secondary
#4450DA
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FCF27E

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

Preview Lab → · Contrast checker → · Palette generator →

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