#FCF783#FCF783

#FCF783 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.7% C 0.138 H 106.5°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#FCF783
RGBrgb(252, 247, 131)
HSLhsl(58, 95%, 75%)
HSVhsv(58, 48%, 99%)
CMYKcmyk(0%, 2%, 48%, 1.2%)
CIE-LABlab(95.52, -13.57, 55.88)
CIE-LCHlch(95.52, 57.50, 103.65°)
OKLaboklab(95.67% -0.0394 0.1326)
OKLCHoklch(95.67% 0.138 106.5)
XYZxyz(77.5042, 88.8578, 34.5369)
Luminance0.8886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF783 #8388FC
analogous
#FCBB83 #FCF783 #C4FC83
triadic
#FCF783 #83FCF7 #F783FC
tetradic
#FCF783 #83FCBB #8388FC #FC83C4
square
#FCF783 #83FCBB #8388FC #FC83C4
split-complementary
#FCF783 #83C4FC #BB83FC
monochromatic
#F9EF0B #FBF347 #FCF783 #FDFBBF #FEFDE1

Accessibility & contrast

On white

1.12
#FCF783 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.77
#FCF783 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF783
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF783#FFFFFF#000000##000000
##FCF7831.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF79
Deuteranopia (green-blind)
#FFF589
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf783;
/* rgb */ color: rgb(252, 247, 131);
/* oklch */ color: oklch(95.7% 0.138 106.5);
Tailwind
colors: {
  custom: {
    50: '#fff9a9',
    500: '#fcf783',
    950: '#000000',
  },
}
SCSS
$custom: #fcf783;
$custom-light: #fff9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf783",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 131
  },
  "hsl": {
    "h": 57.521,
    "s": 95.276,
    "l": 75.098
  },
  "oklch": {
    "l": 0.95667,
    "c": 0.13836,
    "h": 106.5
  },
  "luminance": 0.88856
}

Semantic roles & 50–950 ramp

primary
#FCF783
secondary
#494FDB
accent
#09E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FCF783

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

Preview Lab → · Contrast checker → · Palette generator →

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