#FCF672#FCF672

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

Color values

HEX#FCF672
RGBrgb(252, 246, 114)
HSLhsl(57, 96%, 72%)
HSVhsv(57, 55%, 99%)
CMYKcmyk(0%, 2.4%, 54.8%, 1.2%)
CIE-LABlab(95.09, -14.46, 63.06)
CIE-LCHlch(95.09, 64.70, 102.91°)
OKLaboklab(95.26% -0.0436 0.1466)
OKLCHoklch(95.26% 0.153 106.6)
XYZxyz(76.1401, 87.8242, 28.8573)
Luminance0.8782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF672 #7278FC
analogous
#FCB172 #FCF672 #BDFC72
triadic
#FCF672 #72FCF6 #F672FC
tetradic
#FCF672 #72FCB1 #7278FC #FC72BD
square
#FCF672 #72FCB1 #7278FC #FC72BD
split-complementary
#FCF672 #72BDFC #B172FC
monochromatic
#EFE405 #FBF236 #FCF672 #FDFAAE #FEFDE1

Accessibility & contrast

On white

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

On black

18.56
#FCF672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF672
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF672#FFFFFF#000000##000000
##FCF6721.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fcf672;
/* rgb */ color: rgb(252, 246, 114);
/* oklch */ color: oklch(95.3% 0.153 106.6);
Tailwind
colors: {
  custom: {
    50: '#fff89e',
    500: '#fcf672',
    950: '#000000',
  },
}
SCSS
$custom: #fcf672;
$custom-light: #fff89e;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf672",
  "rgb": {
    "r": 252,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 57.391,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95264,
    "c": 0.15295,
    "h": 106.6
  },
  "luminance": 0.87822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FCF672

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

Preview Lab → · Contrast checker → · Palette generator →

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