#FCF393#FCF393

#FCF393 is a very light, moderate yellow. Relative luminance 0.869; OKLCH L 95.1% C 0.118 H 103.7°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#FCF393
RGBrgb(252, 243, 147)
HSLhsl(55, 95%, 78%)
HSVhsv(55, 42%, 99%)
CMYKcmyk(0%, 3.6%, 41.7%, 1.2%)
CIE-LABlab(94.70, -10.10, 47.27)
CIE-LCHlch(94.70, 48.34, 102.07°)
OKLaboklab(95.08% -0.028 0.1146)
OKLCHoklch(95.08% 0.118 103.7)
XYZxyz(77.4635, 86.9053, 40.2919)
Luminance0.8690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF393 #939CFC
analogous
#FCBE93 #FCF393 #D0FC93
triadic
#FCF393 #93FCF3 #F393FC
tetradic
#FCF393 #93FCBE #939CFC #FC93D0
square
#FCF393 #93FCBE #939CFC #FC93D0
split-complementary
#FCF393 #93D0FC #BE93FC
monochromatic
#F9E61C #FAEC57 #FCF393 #FEFACF #FEFCE1

Accessibility & contrast

On white

1.14
#FCF393 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.38
#FCF393 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF393
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF393#FFFFFF#000000##000000
##FCF3931.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8B
Deuteranopia (green-blind)
#FFF297
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fcf393;
/* rgb */ color: rgb(252, 243, 147);
/* oklch */ color: oklch(95.1% 0.118 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff6b4',
    500: '#fcf393',
    950: '#000000',
  },
}
SCSS
$custom: #fcf393;
$custom-light: #fff6b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf393",
  "rgb": {
    "r": 252,
    "g": 243,
    "b": 147
  },
  "hsl": {
    "h": 54.857,
    "s": 94.595,
    "l": 78.235
  },
  "oklch": {
    "l": 0.95078,
    "c": 0.11794,
    "h": 103.7
  },
  "luminance": 0.86903
}

Semantic roles & 50–950 ramp

primary
#FCF393
secondary
#5662DD
accent
#14E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FCF393

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

Preview Lab → · Contrast checker → · Palette generator →

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