#FFFC30#FFFC30

#FFFC30 is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.3% C 0.199 H 108.7°. Best body text is #000000 at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#FFFC30
RGBrgb(255, 252, 48)
HSLhsl(59, 100%, 59%)
HSVhsv(59, 81%, 100%)
CMYKcmyk(0%, 1.2%, 81.2%, 0%)
CIE-LABlab(96.45, -19.42, 87.59)
CIE-LCHlch(96.45, 89.71, 102.50°)
OKLaboklab(96.28% -0.0638 0.1885)
OKLCHoklch(96.28% 0.199 108.7)
XYZxyz(76.5870, 91.0968, 16.3449)
Luminance0.9109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC30 #3033FF
analogous
#FF9430 #FFFC30 #9BFF30
triadic
#FFFC30 #30FFFC #FC30FF
tetradic
#FFFC30 #30FF94 #3033FF #FF309B
square
#FFFC30 #30FF94 #3033FF #FF309B
split-complementary
#FFFC30 #309BFF #9430FF
monochromatic
#B5B200 #F2EE00 #FFFC30 #FFFD6D #FFFEAA

Accessibility & contrast

On white

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

On black

19.22
#FFFC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC30
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC30#FFFFFF#000000##000000
##FFFC301.001.0919.2219.22
#FFFFFF1.091.0021.0021.00
#00000019.2221.001.001.00
##00000019.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffc30;
/* rgb */ color: rgb(255, 252, 48);
/* oklch */ color: oklch(96.3% 0.199 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffd7d',
    500: '#fffc30',
    950: '#000000',
  },
}
SCSS
$custom: #fffc30;
$custom-light: #fffd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc30",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 48
  },
  "hsl": {
    "h": 59.13,
    "s": 100,
    "l": 59.412
  },
  "oklch": {
    "l": 0.96275,
    "c": 0.19898,
    "h": 108.7
  },
  "luminance": 0.91094
}

Semantic roles & 50–950 ramp

primary
#FFFC30
secondary
#2022B4
accent
#2CFF29
background
#FFFFFB
surface
#FFFFF2
border
#D7D7CC
text
#19170B
muted
#87857E

Preview Lab

Preview with #FFFC30

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

Preview Lab → · Contrast checker → · Palette generator →

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