#FCF09D#FCF09D

#FCF09D is a very light, moderate yellow. Relative luminance 0.855; OKLCH L 94.6% C 0.104 H 101.0°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#FCF09D
RGBrgb(252, 240, 157)
HSLhsl(52, 94%, 80%)
HSVhsv(52, 38%, 99%)
CMYKcmyk(0%, 4.8%, 37.7%, 1.2%)
CIE-LABlab(94.08, -7.57, 41.58)
CIE-LCHlch(94.08, 42.26, 100.32°)
OKLaboklab(94.63% -0.0199 0.1021)
OKLCHoklch(94.63% 0.104 101)
XYZxyz(77.3921, 85.4520, 44.3088)
Luminance0.8545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF09D #9DA9FC
analogous
#FCC09D #FCF09D #D8FC9D
triadic
#FCF09D #9DFCF0 #F09DFC
tetradic
#FCF09D #9DFCC0 #9DA9FC #FC9DD8
square
#FCF09D #9DFCC0 #9DA9FC #FC9DD8
split-complementary
#FCF09D #9DD8FC #C09DFC
monochromatic
#F8DE26 #FAE762 #FCF09D #FEF9D8 #FEFAE1

Accessibility & contrast

On white

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

On black

18.09
#FCF09D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF09D
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF09D#FFFFFF#000000##000000
##FCF09D1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB97
Deuteranopia (green-blind)
#FFF0A0
Tritanopia (blue-blind)
#FFE5DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf09d;
/* rgb */ color: rgb(252, 240, 157);
/* oklch */ color: oklch(94.6% 0.104 101.0);
Tailwind
colors: {
  custom: {
    50: '#fef4bb',
    500: '#fcf09d',
    950: '#000000',
  },
}
SCSS
$custom: #fcf09d;
$custom-light: #fef4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf09d",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 157
  },
  "hsl": {
    "h": 52.421,
    "s": 94.059,
    "l": 80.196
  },
  "oklch": {
    "l": 0.94631,
    "c": 0.10402,
    "h": 101
  },
  "luminance": 0.8545
}

Semantic roles & 50–950 ramp

primary
#FCF09D
secondary
#5F6FDE
accent
#1DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FCF09D

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

Preview Lab → · Contrast checker → · Palette generator →

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