#FFFE7C#FFFE7C

#FFFE7C is a very light, vivid yellow. Relative luminance 0.936; OKLCH L 97.3% C 0.152 H 108.5°. Best body text is #000000 at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#FFFE7C
RGBrgb(255, 254, 124)
HSLhsl(60, 100%, 74%)
HSVhsv(60, 51%, 100%)
CMYKcmyk(0%, 0.4%, 51.4%, 0%)
CIE-LABlab(97.47, -16.38, 61.43)
CIE-LCHlch(97.47, 63.58, 104.93°)
OKLaboklab(97.25% -0.0483 0.1441)
OKLCHoklch(97.25% 0.152 108.5)
XYZxyz(80.3219, 93.6009, 32.9005)
Luminance0.9360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE7C #7C7DFF
analogous
#FFBD7C #FFFE7C #BFFF7C
triadic
#FFFE7C #7CFFFE #FE7CFF
tetradic
#FFFE7C #7CFFBD #7C7DFF #FF7CBF
square
#FFFE7C #7CFFBD #7C7DFF #FF7CBF
split-complementary
#FFFE7C #7CBFFF #BD7CFF
monochromatic
#FFFD02 #FFFE3F #FFFE7C #FFFEB9 #FFFFE0

Accessibility & contrast

On white

1.06
#FFFE7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.72
#FFFE7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE7C
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE7C#FFFFFF#000000##000000
##FFFE7C1.001.0619.7219.72
#FFFFFF1.061.0021.0021.00
#00000019.7221.001.001.00
##00000019.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF56F
Deuteranopia (green-blind)
#FFFA83
Tritanopia (blue-blind)
#FFF0E1
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffe7c;
/* rgb */ color: rgb(255, 254, 124);
/* oklch */ color: oklch(97.3% 0.152 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffea5',
    500: '#fffe7c',
    950: '#000000',
  },
}
SCSS
$custom: #fffe7c;
$custom-light: #fffea5;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe7c",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 124
  },
  "hsl": {
    "h": 59.542,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.97251,
    "c": 0.15194,
    "h": 108.5
  },
  "luminance": 0.93599
}

Semantic roles & 50–950 ramp

primary
#FFFE7C
secondary
#4243DE
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FFFE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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