#FFFC52#FFFC52

#FFFC52 is a very light, vivid yellow. Relative luminance 0.915; OKLCH L 96.5% C 0.182 H 108.4°. Best body text is #000000 at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#FFFC52
RGBrgb(255, 252, 82)
HSLhsl(59, 100%, 66%)
HSVhsv(59, 68%, 100%)
CMYKcmyk(0%, 1.2%, 67.8%, 0%)
CIE-LABlab(96.61, -18.13, 77.60)
CIE-LCHlch(96.61, 79.69, 103.15°)
OKLaboklab(96.46% -0.0575 0.173)
OKLCHoklch(96.46% 0.182 108.4)
XYZxyz(77.5762, 91.4924, 21.5544)
Luminance0.9149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC52 #5255FF
analogous
#FFA652 #FFFC52 #ABFF52
triadic
#FFFC52 #52FFFC #FC52FF
tetradic
#FFFC52 #52FFA6 #5255FF #FF52AB
square
#FFFC52 #52FFA6 #5255FF #FF52AB
split-complementary
#FFFC52 #52ABFF #A652FF
monochromatic
#D7D300 #FFFB15 #FFFC52 #FFFD8F #FFFECC

Accessibility & contrast

On white

1.09
#FFFC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.30
#FFFC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC52
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC52#FFFFFF#000000##000000
##FFFC521.001.0919.3019.30
#FFFFFF1.091.0021.0021.00
#00000019.3021.001.001.00
##00000019.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF237
Deuteranopia (green-blind)
#FFF85E
Tritanopia (blue-blind)
#FFECDA
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc52;
/* rgb */ color: rgb(255, 252, 82);
/* oklch */ color: oklch(96.5% 0.182 108.4);
Tailwind
colors: {
  custom: {
    50: '#fffd8c',
    500: '#fffc52',
    950: '#000000',
  },
}
SCSS
$custom: #fffc52;
$custom-light: #fffd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc52",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 82
  },
  "hsl": {
    "h": 58.96,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.96456,
    "c": 0.18226,
    "h": 108.4
  },
  "luminance": 0.9149
}

Semantic roles & 50–950 ramp

primary
#FFFC52
secondary
#2528D0
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFC52

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

Preview Lab → · Contrast checker → · Palette generator →

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