#FCF293#FCF293

#FCF293 is a very light, moderate yellow. Relative luminance 0.863; OKLCH L 94.9% C 0.117 H 103.1°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#FCF293
RGBrgb(252, 242, 147)
HSLhsl(54, 95%, 78%)
HSVhsv(54, 42%, 99%)
CMYKcmyk(0%, 4%, 41.7%, 1.2%)
CIE-LABlab(94.44, -9.61, 46.95)
CIE-LCHlch(94.44, 47.93, 101.57°)
OKLaboklab(94.88% -0.0266 0.1139)
OKLCHoklch(94.88% 0.117 103.1)
XYZxyz(77.1650, 86.3084, 40.1925)
Luminance0.8631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF293 #939DFC
analogous
#FCBD93 #FCF293 #D1FC93
triadic
#FCF293 #93FCF2 #F293FC
tetradic
#FCF293 #93FCBD #939DFC #FC93D1
square
#FCF293 #93FCBD #939DFC #FC93D1
split-complementary
#FCF293 #93D1FC #BD93FC
monochromatic
#F9E41C #FAEB57 #FCF293 #FEF9CF #FEFBE1

Accessibility & contrast

On white

1.15
#FCF293 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#FCF293 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF293
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF293#FFFFFF#000000##000000
##FCF2931.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8C
Deuteranopia (green-blind)
#FFF197
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf293;
/* rgb */ color: rgb(252, 242, 147);
/* oklch */ color: oklch(94.9% 0.117 103.1);
Tailwind
colors: {
  custom: {
    50: '#fff6b4',
    500: '#fcf293',
    950: '#000000',
  },
}
SCSS
$custom: #fcf293;
$custom-light: #fff6b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf293",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 147
  },
  "hsl": {
    "h": 54.286,
    "s": 94.595,
    "l": 78.235
  },
  "oklch": {
    "l": 0.94876,
    "c": 0.11691,
    "h": 103.1
  },
  "luminance": 0.86306
}

Semantic roles & 50–950 ramp

primary
#FCF293
secondary
#5663DD
accent
#16E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF293

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

Preview Lab → · Contrast checker → · Palette generator →

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