#FCF09F#FCF09F

#FCF09F is a very light, moderate yellow. Relative luminance 0.855; OKLCH L 94.7% C 0.102 H 100.9°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#FCF09F
RGBrgb(252, 240, 159)
HSLhsl(52, 94%, 81%)
HSVhsv(52, 37%, 99%)
CMYKcmyk(0%, 4.8%, 36.9%, 1.2%)
CIE-LABlab(94.11, -7.36, 40.63)
CIE-LCHlch(94.11, 41.29, 100.26°)
OKLaboklab(94.66% -0.0192 0.1)
OKLCHoklch(94.66% 0.102 100.9)
XYZxyz(77.5642, 85.5209, 45.2155)
Luminance0.8552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF09F #9FABFC
analogous
#FCC19F #FCF09F #D9FC9F
triadic
#FCF09F #9FFCF0 #F09FFC
tetradic
#FCF09F #9FFCC1 #9FABFC #FC9FD9
square
#FCF09F #9FFCC1 #9FABFC #FC9FD9
split-complementary
#FCF09F #9FD9FC #C19FFC
monochromatic
#F8DD28 #FAE764 #FCF09F #FEF9DA #FEFAE1

Accessibility & contrast

On white

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

On black

18.10
#FCF09F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF09F
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF09F#FFFFFF#000000##000000
##FCF09F1.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEB99
Deuteranopia (green-blind)
#FFF0A2
Tritanopia (blue-blind)
#FFE5DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf09f;
/* rgb */ color: rgb(252, 240, 159);
/* oklch */ color: oklch(94.7% 0.102 100.9);
Tailwind
colors: {
  custom: {
    50: '#fef4bc',
    500: '#fcf09f',
    950: '#000000',
  },
}
SCSS
$custom: #fcf09f;
$custom-light: #fef4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf09f",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 159
  },
  "hsl": {
    "h": 52.258,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.94664,
    "c": 0.10179,
    "h": 100.9
  },
  "luminance": 0.85519
}

Semantic roles & 50–950 ramp

primary
#FCF09F
secondary
#6171DE
accent
#1EE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FCF09F

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

Preview Lab → · Contrast checker → · Palette generator →

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