#FCF673#FCF673

#FCF673 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.3% C 0.152 H 106.5°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#FCF673
RGBrgb(252, 246, 115)
HSLhsl(57, 96%, 72%)
HSVhsv(57, 54%, 99%)
CMYKcmyk(0%, 2.4%, 54.4%, 1.2%)
CIE-LABlab(95.10, -14.38, 62.63)
CIE-LCHlch(95.10, 64.26, 102.93°)
OKLaboklab(95.28% -0.0433 0.1458)
OKLCHoklch(95.28% 0.152 106.5)
XYZxyz(76.1974, 87.8470, 29.1587)
Luminance0.8784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF673 #7379FC
analogous
#FCB273 #FCF673 #BEFC73
triadic
#FCF673 #73FCF6 #F673FC
tetradic
#FCF673 #73FCB2 #7379FC #FC73BE
square
#FCF673 #73FCB2 #7379FC #FC73BE
split-complementary
#FCF673 #73BEFC #B273FC
monochromatic
#EFE505 #FBF237 #FCF673 #FDFAAF #FEFDE1

Accessibility & contrast

On white

1.13
#FCF673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.57
#FCF673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF673
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF673#FFFFFF#000000##000000
##FCF6731.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE66
Deuteranopia (green-blind)
#FFF47A
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fcf673;
/* rgb */ color: rgb(252, 246, 115);
/* oklch */ color: oklch(95.3% 0.152 106.5);
Tailwind
colors: {
  custom: {
    50: '#fff89f',
    500: '#fcf673',
    950: '#000000',
  },
}
SCSS
$custom: #fcf673;
$custom-light: #fff89f;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf673",
  "rgb": {
    "r": 252,
    "g": 246,
    "b": 115
  },
  "hsl": {
    "h": 57.372,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95275,
    "c": 0.15209,
    "h": 106.5
  },
  "luminance": 0.87845
}

Semantic roles & 50–950 ramp

primary
#FCF673
secondary
#3B42D8
accent
#0AE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF673

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

Preview Lab → · Contrast checker → · Palette generator →

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