#FCF875#FCF875

#FCF875 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.7% C 0.152 H 107.4°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#FCF875
RGBrgb(252, 248, 117)
HSLhsl(58, 96%, 72%)
HSVhsv(58, 54%, 99%)
CMYKcmyk(0%, 1.6%, 53.6%, 1.2%)
CIE-LABlab(95.63, -15.20, 62.36)
CIE-LCHlch(95.63, 64.18, 103.70°)
OKLaboklab(95.71% -0.0454 0.1454)
OKLCHoklch(95.71% 0.152 107.4)
XYZxyz(76.9253, 89.1168, 29.9752)
Luminance0.8911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF875 #7579FC
analogous
#FCB475 #FCF875 #BDFC75
triadic
#FCF875 #75FCF8 #F875FC
tetradic
#FCF875 #75FCB4 #7579FC #FC75BD
square
#FCF875 #75FCB4 #7579FC #FC75BD
split-complementary
#FCF875 #75BDFC #B475FC
monochromatic
#F1EA05 #FBF539 #FCF875 #FDFBB1 #FEFDE1

Accessibility & contrast

On white

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

On black

18.82
#FCF875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF875
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF875#FFFFFF#000000##000000
##FCF8751.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF68
Deuteranopia (green-blind)
#FFF57C
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fcf875;
/* rgb */ color: rgb(252, 248, 117);
/* oklch */ color: oklch(95.7% 0.152 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffaa0',
    500: '#fcf875',
    950: '#000000',
  },
}
SCSS
$custom: #fcf875;
$custom-light: #fffaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf875",
  "rgb": {
    "r": 252,
    "g": 248,
    "b": 117
  },
  "hsl": {
    "h": 58.222,
    "s": 95.745,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95706,
    "c": 0.15234,
    "h": 107.4
  },
  "luminance": 0.89115
}

Semantic roles & 50–950 ramp

primary
#FCF875
secondary
#3D41D9
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF875

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

Preview Lab → · Contrast checker → · Palette generator →

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