#FFFC7F#FFFC7F

#FFFC7F is a very light, vivid yellow. Relative luminance 0.924; OKLCH L 96.9% C 0.147 H 107.6°. Best body text is #000000 at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#FFFC7F
RGBrgb(255, 252, 127)
HSLhsl(59, 100%, 75%)
HSVhsv(59, 50%, 100%)
CMYKcmyk(0%, 1.2%, 50.2%, 0%)
CIE-LABlab(96.99, -15.17, 59.52)
CIE-LCHlch(96.99, 61.42, 104.30°)
OKLaboklab(96.88% -0.0445 0.1402)
OKLCHoklch(96.88% 0.147 107.6)
XYZxyz(79.8832, 92.4152, 33.7045)
Luminance0.9241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC7F #7F82FF
analogous
#FFBC7F #FFFC7F #C2FF7F
triadic
#FFFC7F #7FFFFC #FC7FFF
tetradic
#FFFC7F #7FFFBC #7F82FF #FF7FC2
square
#FFFC7F #7FFFBC #7F82FF #FF7FC2
split-complementary
#FFFC7F #7FC2FF #BC7FFF
monochromatic
#FFF905 #FFFB42 #FFFC7F #FFFDBC #FFFEE0

Accessibility & contrast

On white

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

On black

19.48
#FFFC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC7F
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC7F#FFFFFF#000000##000000
##FFFC7F1.001.0819.4819.48
#FFFFFF1.081.0021.0021.00
#00000019.4821.001.001.00
##00000019.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF473
Deuteranopia (green-blind)
#FFF985
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffc7f;
/* rgb */ color: rgb(255, 252, 127);
/* oklch */ color: oklch(96.9% 0.147 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffda7',
    500: '#fffc7f',
    950: '#000000',
  },
}
SCSS
$custom: #fffc7f;
$custom-light: #fffda7;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc7f",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 127
  },
  "hsl": {
    "h": 58.594,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.96878,
    "c": 0.1471,
    "h": 107.6
  },
  "luminance": 0.92413
}

Semantic roles & 50–950 ramp

primary
#FFFC7F
secondary
#4448DE
accent
#05E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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