#FCF052#FCF052

#FCF052 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.172 H 105.0°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#FCF052
RGBrgb(252, 240, 82)
HSLhsl(56, 97%, 65%)
HSVhsv(56, 67%, 99%)
CMYKcmyk(0%, 4.8%, 67.5%, 1.2%)
CIE-LABlab(93.29, -13.53, 74.20)
CIE-LCHlch(93.29, 75.42, 100.34°)
OKLaboklab(93.75% -0.0443 0.1659)
OKLCHoklch(93.75% 0.172 105)
XYZxyz(72.8308, 83.6275, 20.2864)
Luminance0.8363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF052 #525EFC
analogous
#FC9B52 #FCF052 #B3FC52
triadic
#FCF052 #52FCF0 #F052FC
tetradic
#FCF052 #52FC9B #525EFC #FC52B3
square
#FCF052 #52FC9B #525EFC #FC52B3
split-complementary
#FCF052 #52B3FC #9B52FC
monochromatic
#D0C204 #FBEB16 #FCF052 #FDF58E #FEFACA

Accessibility & contrast

On white

1.18
#FCF052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.73
#FCF052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF052
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF052#FFFFFF#000000##000000
##FCF0521.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE83B
Deuteranopia (green-blind)
#FFEF5C
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fcf052;
/* rgb */ color: rgb(252, 240, 82);
/* oklch */ color: oklch(93.8% 0.172 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff48b',
    500: '#fcf052',
    950: '#000000',
  },
}
SCSS
$custom: #fcf052;
$custom-light: #fff48b;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf052",
  "rgb": {
    "r": 252,
    "g": 240,
    "b": 82
  },
  "hsl": {
    "h": 55.765,
    "s": 96.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.9375,
    "c": 0.17171,
    "h": 105
  },
  "luminance": 0.83625
}

Semantic roles & 50–950 ramp

primary
#FCF052
secondary
#2733CB
accent
#10E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FCF052

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

Preview Lab → · Contrast checker → · Palette generator →

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