#FCF279#FCF279

#FCF279 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.143 H 104.5°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#FCF279
RGBrgb(252, 242, 121)
HSLhsl(55, 96%, 73%)
HSVhsv(55, 52%, 99%)
CMYKcmyk(0%, 4%, 52%, 1.2%)
CIE-LABlab(94.13, -11.96, 58.83)
CIE-LCHlch(94.13, 60.03, 101.49°)
OKLaboklab(94.53% -0.0358 0.1382)
OKLCHoklch(94.53% 0.143 104.5)
XYZxyz(75.3504, 85.5826, 30.6354)
Luminance0.8558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF279 #7983FC
analogous
#FCB079 #FCF279 #C4FC79
triadic
#FCF279 #79FCF2 #F279FC
tetradic
#FCF279 #79FCB0 #7983FC #FC79C4
square
#FCF279 #79FCB0 #7983FC #FC79C4
split-complementary
#FCF279 #79C4FC #B079FC
monochromatic
#F5E305 #FBEC3D #FCF279 #FDF8B5 #FEFCE1

Accessibility & contrast

On white

1.16
#FCF279 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#FCF279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF279
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF279#FFFFFF#000000##000000
##FCF2791.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fcf279;
/* rgb */ color: rgb(252, 242, 121);
/* oklch */ color: oklch(94.5% 0.143 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff6a3',
    500: '#fcf279',
    950: '#000000',
  },
}
SCSS
$custom: #fcf279;
$custom-light: #fff6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf279",
  "rgb": {
    "r": 252,
    "g": 242,
    "b": 121
  },
  "hsl": {
    "h": 55.42,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94529,
    "c": 0.14274,
    "h": 104.5
  },
  "luminance": 0.8558
}

Semantic roles & 50–950 ramp

primary
#FCF279
secondary
#404CD9
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FCF279

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

Preview Lab → · Contrast checker → · Palette generator →

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