#FFFC7D#FFFC7D

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

Color values

HEX#FFFC7D
RGBrgb(255, 252, 125)
HSLhsl(59, 100%, 75%)
HSVhsv(59, 51%, 100%)
CMYKcmyk(0%, 1.2%, 51%, 0%)
CIE-LABlab(96.97, -15.33, 60.40)
CIE-LCHlch(96.97, 62.31, 104.24°)
OKLaboklab(96.86% -0.0452 0.1419)
OKLCHoklch(96.86% 0.149 107.7)
XYZxyz(79.7541, 92.3636, 33.0248)
Luminance0.9236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC7D #7D80FF
analogous
#FFBB7D #FFFC7D #C1FF7D
triadic
#FFFC7D #7DFFFC #FC7DFF
tetradic
#FFFC7D #7DFFBB #7D80FF #FF7DC1
square
#FFFC7D #7DFFBB #7D80FF #FF7DC1
split-complementary
#FFFC7D #7DC1FF #BB7DFF
monochromatic
#FFF903 #FFFB40 #FFFC7D #FFFDBA #FFFEE0

Accessibility & contrast

On white

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

On black

19.47
#FFFC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC7D
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC7D#FFFFFF#000000##000000
##FFFC7D1.001.0819.4719.47
#FFFFFF1.081.0021.0021.00
#00000019.4721.001.001.00
##00000019.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffc7d;
/* rgb */ color: rgb(255, 252, 125);
/* oklch */ color: oklch(96.9% 0.149 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffda6',
    500: '#fffc7d',
    950: '#000000',
  },
}
SCSS
$custom: #fffc7d;
$custom-light: #fffda6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc7d",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 125
  },
  "hsl": {
    "h": 58.615,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.96855,
    "c": 0.14893,
    "h": 107.7
  },
  "luminance": 0.92361
}

Semantic roles & 50–950 ramp

primary
#FFFC7D
secondary
#4246DE
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FFFC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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