#FFFC5F#FFFC5F

#FFFC5F is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.6% C 0.174 H 108.2°. Best body text is #000000 at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#FFFC5F
RGBrgb(255, 252, 95)
HSLhsl(59, 100%, 69%)
HSVhsv(59, 63%, 100%)
CMYKcmyk(0%, 1.2%, 62.7%, 0%)
CIE-LABlab(96.70, -17.43, 72.81)
CIE-LCHlch(96.70, 74.87, 103.46°)
OKLaboklab(96.56% -0.0542 0.1649)
OKLCHoklch(96.56% 0.174 108.2)
XYZxyz(78.1186, 91.7094, 24.4109)
Luminance0.9171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC5F #5F62FF
analogous
#FFAC5F #FFFC5F #B2FF5F
triadic
#FFFC5F #5FFFFC #FC5FFF
tetradic
#FFFC5F #5FFFAC #5F62FF #FF5FB2
square
#FFFC5F #5FFFAC #5F62FF #FF5FB2
split-complementary
#FFFC5F #5FB2FF #AC5FFF
monochromatic
#E4DF00 #FFFB22 #FFFC5F #FFFD9C #FFFED9

Accessibility & contrast

On white

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

On black

19.34
#FFFC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC5F
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC5F#FFFFFF#000000##000000
##FFFC5F1.001.0919.3419.34
#FFFFFF1.091.0021.0021.00
#00000019.3421.001.001.00
##00000019.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF24B
Deuteranopia (green-blind)
#FFF869
Tritanopia (blue-blind)
#FFEDDC
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc5f;
/* rgb */ color: rgb(255, 252, 95);
/* oklch */ color: oklch(96.6% 0.174 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffd93',
    500: '#fffc5f',
    950: '#000000',
  },
}
SCSS
$custom: #fffc5f;
$custom-light: #fffd93;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc5f",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 95
  },
  "hsl": {
    "h": 58.875,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.96556,
    "c": 0.17355,
    "h": 108.2
  },
  "luminance": 0.91707
}

Semantic roles & 50–950 ramp

primary
#FFFC5F
secondary
#292CD9
accent
#04E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFFC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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