#FFFC08#FFFC08

#FFFC08 is a very light, highly saturated yellow. Relative luminance 0.909; OKLCH L 96.2% C 0.208 H 108.9°. Best body text is #000000 at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#FFFC08
RGBrgb(255, 252, 8)
HSLhsl(59, 100%, 52%)
HSVhsv(59, 97%, 100%)
CMYKcmyk(0%, 1.2%, 96.9%, 0%)
CIE-LABlab(96.37, -20.07, 93.36)
CIE-LCHlch(96.37, 95.49, 102.13°)
OKLaboklab(96.19% -0.0671 0.1965)
OKLCHoklch(96.19% 0.208 108.9)
XYZxyz(76.0975, 90.9010, 13.7668)
Luminance0.9090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC08 #080BFF
analogous
#FF8008 #FFFC08 #87FF08
triadic
#FFFC08 #08FFFC #FC08FF
tetradic
#FFFC08 #08FF80 #080BFF #FF0887
square
#FFFC08 #08FF80 #080BFF #FF0887
split-complementary
#FFFC08 #0887FF #8008FF
monochromatic
#8D8B00 #CAC700 #FFFC08 #FFFD45 #FFFD82

Accessibility & contrast

On white

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

On black

19.18
#FFFC08 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC08
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC08#FFFFFF#000000##000000
##FFFC081.001.0919.1819.18
#FFFFFF1.091.0021.0021.00
#00000019.1821.001.001.00
##00000019.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF100
Deuteranopia (green-blind)
#FFF832
Tritanopia (blue-blind)
#FFEBD7
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fffc08;
/* rgb */ color: rgb(255, 252, 8);
/* oklch */ color: oklch(96.2% 0.208 108.9);
Tailwind
colors: {
  custom: {
    50: '#fffd73',
    500: '#fffc08',
    950: '#000000',
  },
}
SCSS
$custom: #fffc08;
$custom-light: #fffd73;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc08",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 8
  },
  "hsl": {
    "h": 59.271,
    "s": 100,
    "l": 51.569
  },
  "oklch": {
    "l": 0.96185,
    "c": 0.20767,
    "h": 108.9
  },
  "luminance": 0.90898
}

Semantic roles & 50–950 ramp

primary
#FFFC08
secondary
#1A1B92
accent
#2BFF29
background
#FFFFFB
surface
#FFFFF2
border
#D7D7CC
text
#19170A
muted
#87857D

Preview Lab

Preview with #FFFC08

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

Preview Lab → · Contrast checker → · Palette generator →

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