#FCF373#FCF373

#FCF373 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.7% C 0.149 H 105.2°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#FCF373
RGBrgb(252, 243, 115)
HSLhsl(56, 96%, 72%)
HSVhsv(56, 54%, 99%)
CMYKcmyk(0%, 3.6%, 54.4%, 1.2%)
CIE-LABlab(94.33, -12.91, 61.75)
CIE-LCHlch(94.33, 63.09, 101.81°)
OKLaboklab(94.66% -0.0391 0.1439)
OKLCHoklch(94.66% 0.149 105.2)
XYZxyz(75.2923, 86.0368, 28.8570)
Luminance0.8603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF373 #737CFC
analogous
#FCAE73 #FCF373 #C1FC73
triadic
#FCF373 #73FCF3 #F373FC
tetradic
#FCF373 #73FCAE #737CFC #FC73C1
square
#FCF373 #73FCAE #737CFC #FC73C1
split-complementary
#FCF373 #73C1FC #AE73FC
monochromatic
#EFE005 #FBEE37 #FCF373 #FDF8AF #FEFCE1

Accessibility & contrast

On white

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

On black

18.21
#FCF373 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF373
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF373#FFFFFF#000000##000000
##FCF3731.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf373;
/* rgb */ color: rgb(252, 243, 115);
/* oklch */ color: oklch(94.7% 0.149 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff69f',
    500: '#fcf373',
    950: '#000000',
  },
}
SCSS
$custom: #fcf373;
$custom-light: #fff69f;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf373",
  "rgb": {
    "r": 252,
    "g": 243,
    "b": 115
  },
  "hsl": {
    "h": 56.058,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94664,
    "c": 0.14913,
    "h": 105.2
  },
  "luminance": 0.86034
}

Semantic roles & 50–950 ramp

primary
#FCF373
secondary
#3B45D8
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF373

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

Preview Lab → · Contrast checker → · Palette generator →

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