#FCF09B#FCF09B

#FCF09B is a very light, moderate yellow. Relative luminance 0.854; OKLCH L 94.6% C 0.106 H 101.2°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#FCF09B
RGBrgb(252, 240, 155)
HSLhsl(53, 94%, 80%)
HSVhsv(53, 38%, 99%)
CMYKcmyk(0%, 4.8%, 38.5%, 1.2%)
CIE-LABlab(94.05, -7.79, 42.53)
CIE-LCHlch(94.05, 43.24, 100.38°)
OKLaboklab(94.6% -0.0207 0.1042)
OKLCHoklch(94.6% 0.106 101.2)
XYZxyz(77.2227, 85.3843, 43.4169)
Luminance0.8538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF09B #9BA7FC
analogous
#FCBF9B #FCF09B #D8FC9B
triadic
#FCF09B #9BFCF0 #F09BFC
tetradic
#FCF09B #9BFCBF #9BA7FC #FC9BD8
square
#FCF09B #9BFCBF #9BA7FC #FC9BD8
split-complementary
#FCF09B #9BD8FC #BF9BFC
monochromatic
#F8DE24 #FAE760 #FCF09B #FEF9D6 #FEFBE1

Accessibility & contrast

On white

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

On black

18.08
#FCF09B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF09B
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF09B#FFFFFF#000000##000000
##FCF09B1.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf09b;
/* rgb */ color: rgb(252, 240, 155);
/* oklch */ color: oklch(94.6% 0.106 101.2);
Tailwind
colors: {
  custom: {
    50: '#fff4b9',
    500: '#fcf09b',
    950: '#000000',
  },
}
SCSS
$custom: #fcf09b;
$custom-light: #fff4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf09b",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 155
  },
  "hsl": {
    "h": 52.577,
    "s": 94.175,
    "l": 79.804
  },
  "oklch": {
    "l": 0.94599,
    "c": 0.10622,
    "h": 101.2
  },
  "luminance": 0.85382
}

Semantic roles & 50–950 ramp

primary
#FCF09B
secondary
#5D6DDE
accent
#1CE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF09B

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

Preview Lab → · Contrast checker → · Palette generator →

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