#FFFC7A#FFFC7A

#FFFC7A is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.8% C 0.152 H 107.7°. Best body text is #000000 at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#FFFC7A
RGBrgb(255, 252, 122)
HSLhsl(59, 100%, 74%)
HSVhsv(59, 52%, 100%)
CMYKcmyk(0%, 1.2%, 52.2%, 0%)
CIE-LABlab(96.94, -15.57, 61.71)
CIE-LCHlch(96.94, 63.64, 104.16°)
OKLaboklab(96.82% -0.0462 0.1445)
OKLCHoklch(96.82% 0.152 107.7)
XYZxyz(79.5654, 92.2881, 32.0307)
Luminance0.9229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC7A #7A7DFF
analogous
#FFBA7A #FFFC7A #C0FF7A
triadic
#FFFC7A #7AFFFC #FC7AFF
tetradic
#FFFC7A #7AFFBA #7A7DFF #FF7AC0
square
#FFFC7A #7AFFBA #7A7DFF #FF7AC0
split-complementary
#FFFC7A #7AC0FF #BA7AFF
monochromatic
#FFF900 #FFFB3D #FFFC7A #FFFDB7 #FFFEE0

Accessibility & contrast

On white

1.08
#FFFC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.46
#FFFC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC7A
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC7A#FFFFFF#000000##000000
##FFFC7A1.001.0819.4619.46
#FFFFFF1.081.0021.0021.00
#00000019.4621.001.001.00
##00000019.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF36D
Deuteranopia (green-blind)
#FFF981
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffc7a;
/* rgb */ color: rgb(255, 252, 122);
/* oklch */ color: oklch(96.8% 0.152 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffda4',
    500: '#fffc7a',
    950: '#000000',
  },
}
SCSS
$custom: #fffc7a;
$custom-light: #fffda4;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc7a",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 122
  },
  "hsl": {
    "h": 58.647,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.9682,
    "c": 0.15166,
    "h": 107.7
  },
  "luminance": 0.92286
}

Semantic roles & 50–950 ramp

primary
#FFFC7A
secondary
#4043DD
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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