#FFFC7E#FFFC7E

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

Color values

HEX#FFFC7E
RGBrgb(255, 252, 126)
HSLhsl(59, 100%, 75%)
HSVhsv(59, 51%, 100%)
CMYKcmyk(0%, 1.2%, 50.6%, 0%)
CIE-LABlab(96.98, -15.25, 59.96)
CIE-LCHlch(96.98, 61.87, 104.27°)
OKLaboklab(96.87% -0.0448 0.1411)
OKLCHoklch(96.87% 0.148 107.6)
XYZxyz(79.8183, 92.3893, 33.3629)
Luminance0.9239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC7E #7E81FF
analogous
#FFBC7E #FFFC7E #C1FF7E
triadic
#FFFC7E #7EFFFC #FC7EFF
tetradic
#FFFC7E #7EFFBC #7E81FF #FF7EC1
square
#FFFC7E #7EFFBC #7E81FF #FF7EC1
split-complementary
#FFFC7E #7EC1FF #BC7EFF
monochromatic
#FFF904 #FFFB41 #FFFC7E #FFFDBB #FFFEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFC7E#FFFFFF#000000##000000
##FFFC7E1.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)
#FFF472
Deuteranopia (green-blind)
#FFF984
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffc7e;
/* rgb */ color: rgb(255, 252, 126);
/* oklch */ color: oklch(96.9% 0.148 107.6);
Tailwind
colors: {
  custom: {
    50: '#fffda6',
    500: '#fffc7e',
    950: '#000000',
  },
}
SCSS
$custom: #fffc7e;
$custom-light: #fffda6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc7e",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 126
  },
  "hsl": {
    "h": 58.605,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.96867,
    "c": 0.14802,
    "h": 107.6
  },
  "luminance": 0.92387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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