#FCF378#FCF378

#FCF378 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.145 H 105.0°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#FCF378
RGBrgb(252, 243, 120)
HSLhsl(56, 96%, 73%)
HSVhsv(56, 52%, 99%)
CMYKcmyk(0%, 3.6%, 52.4%, 1.2%)
CIE-LABlab(94.38, -12.53, 59.57)
CIE-LCHlch(94.38, 60.87, 101.88°)
OKLaboklab(94.72% -0.0375 0.1397)
OKLCHoklch(94.72% 0.145 105)
XYZxyz(75.5878, 86.1550, 30.4135)
Luminance0.8615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF378 #7881FC
analogous
#FCB178 #FCF378 #C3FC78
triadic
#FCF378 #78FCF3 #F378FC
tetradic
#FCF378 #78FCB1 #7881FC #FC78C3
square
#FCF378 #78FCB1 #7881FC #FC78C3
split-complementary
#FCF378 #78C3FC #B178FC
monochromatic
#F4E405 #FBEE3C #FCF378 #FDF8B4 #FEFCE1

Accessibility & contrast

On white

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

On black

18.23
#FCF378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF378
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF378#FFFFFF#000000##000000
##FCF3781.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFF27E
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fcf378;
/* rgb */ color: rgb(252, 243, 120);
/* oklch */ color: oklch(94.7% 0.145 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff6a2',
    500: '#fcf378',
    950: '#000000',
  },
}
SCSS
$custom: #fcf378;
$custom-light: #fff6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf378",
  "rgb": {
    "r": 252,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 55.909,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.9472,
    "c": 0.14465,
    "h": 105
  },
  "luminance": 0.86153
}

Semantic roles & 50–950 ramp

primary
#FCF378
secondary
#3F4AD9
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF378

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

Preview Lab → · Contrast checker → · Palette generator →

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