#FCF07E#FCF07E

#FCF07E is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.2% C 0.136 H 103.3°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#FCF07E
RGBrgb(252, 240, 126)
HSLhsl(54, 95%, 74%)
HSVhsv(54, 50%, 99%)
CMYKcmyk(0%, 4.8%, 50%, 1.2%)
CIE-LABlab(93.68, -10.56, 56.00)
CIE-LCHlch(93.68, 56.98, 100.68°)
OKLaboklab(94.18% -0.0312 0.1325)
OKLCHoklch(94.18% 0.136 103.3)
XYZxyz(75.0730, 84.5244, 32.0949)
Luminance0.8452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF07E #7E8AFC
analogous
#FCB17E #FCF07E #C9FC7E
triadic
#FCF07E #7EFCF0 #F07EFC
tetradic
#FCF07E #7EFCB1 #7E8AFC #FC7EC9
square
#FCF07E #7EFCB1 #7E8AFC #FC7EC9
split-complementary
#FCF07E #7EC9FC #B17EFC
monochromatic
#F9E206 #FBE942 #FCF07E #FDF7BA #FEFCE1

Accessibility & contrast

On white

1.17
#FCF07E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.90
#FCF07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF07E
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF07E#FFFFFF#000000##000000
##FCF07E1.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE974
Deuteranopia (green-blind)
#FFF083
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fcf07e;
/* rgb */ color: rgb(252, 240, 126);
/* oklch */ color: oklch(94.2% 0.136 103.3);
Tailwind
colors: {
  custom: {
    50: '#fff4a6',
    500: '#fcf07e',
    950: '#000000',
  },
}
SCSS
$custom: #fcf07e;
$custom-light: #fff4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf07e",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 126
  },
  "hsl": {
    "h": 54.286,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94184,
    "c": 0.13612,
    "h": 103.3
  },
  "luminance": 0.84522
}

Semantic roles & 50–950 ramp

primary
#FCF07E
secondary
#4453DA
accent
#16E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF07E

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

Preview Lab → · Contrast checker → · Palette generator →

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