#FFFC45#FFFC45

#FFFC45 is a very light, vivid yellow. Relative luminance 0.913; OKLCH L 96.4% C 0.190 H 108.5°. Best body text is #000000 at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#FFFC45
RGBrgb(255, 252, 69)
HSLhsl(59, 100%, 64%)
HSVhsv(59, 73%, 100%)
CMYKcmyk(0%, 1.2%, 72.9%, 0%)
CIE-LABlab(96.54, -18.71, 81.90)
CIE-LCHlch(96.54, 84.01, 102.87°)
OKLaboklab(96.37% -0.0603 0.1799)
OKLCHoklch(96.37% 0.19 108.5)
XYZxyz(77.1275, 91.3130, 19.1915)
Luminance0.9131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC45 #4548FF
analogous
#FF9F45 #FFFC45 #A5FF45
triadic
#FFFC45 #45FFFC #FC45FF
tetradic
#FFFC45 #45FF9F #4548FF #FF45A5
square
#FFFC45 #45FF9F #4548FF #FF45A5
split-complementary
#FFFC45 #45A5FF #9F45FF
monochromatic
#CAC600 #FFFB08 #FFFC45 #FFFD82 #FFFEBF

Accessibility & contrast

On white

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

On black

19.26
#FFFC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC45
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC45#FFFFFF#000000##000000
##FFFC451.001.0919.2619.26
#FFFFFF1.091.0021.0021.00
#00000019.2621.001.001.00
##00000019.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF21C
Deuteranopia (green-blind)
#FFF854
Tritanopia (blue-blind)
#FFECD9
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc45;
/* rgb */ color: rgb(255, 252, 69);
/* oklch */ color: oklch(96.4% 0.190 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffd86',
    500: '#fffc45',
    950: '#000000',
  },
}
SCSS
$custom: #fffc45;
$custom-light: #fffd86;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc45",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 69
  },
  "hsl": {
    "h": 59.032,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.96374,
    "c": 0.18971,
    "h": 108.5
  },
  "luminance": 0.9131
}

Semantic roles & 50–950 ramp

primary
#FFFC45
secondary
#2325C5
accent
#04E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFFC45

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

Preview Lab → · Contrast checker → · Palette generator →

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