#FFFE7F#FFFE7F

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

Color values

HEX#FFFE7F
RGBrgb(255, 254, 127)
HSLhsl(60, 100%, 75%)
HSVhsv(60, 50%, 100%)
CMYKcmyk(0%, 0.4%, 50.2%, 0%)
CIE-LABlab(97.50, -16.14, 60.12)
CIE-LCHlch(97.50, 62.25, 105.03°)
OKLaboklab(97.29% -0.0473 0.1415)
OKLCHoklch(97.29% 0.149 108.5)
XYZxyz(80.5145, 93.6780, 33.9149)
Luminance0.9368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE7F #7F80FF
analogous
#FFBE7F #FFFE7F #C0FF7F
triadic
#FFFE7F #7FFFFE #FE7FFF
tetradic
#FFFE7F #7FFFBE #7F80FF #FF7FC0
square
#FFFE7F #7FFFBE #7F80FF #FF7FC0
split-complementary
#FFFE7F #7FC0FF #BE7FFF
monochromatic
#FFFD05 #FFFE42 #FFFE7F #FFFEBC #FFFFE0

Accessibility & contrast

On white

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

On black

19.74
#FFFE7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE7F
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE7F#FFFFFF#000000##000000
##FFFE7F1.001.0619.7419.74
#FFFFFF1.061.0021.0021.00
#00000019.7421.001.001.00
##00000019.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffe7f;
/* rgb */ color: rgb(255, 254, 127);
/* oklch */ color: oklch(97.3% 0.149 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffea7',
    500: '#fffe7f',
    950: '#000000',
  },
}
SCSS
$custom: #fffe7f;
$custom-light: #fffea7;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe7f",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 127
  },
  "hsl": {
    "h": 59.531,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.97286,
    "c": 0.14919,
    "h": 108.5
  },
  "luminance": 0.93676
}

Semantic roles & 50–950 ramp

primary
#FFFE7F
secondary
#4445DE
accent
#02E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFE7F

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

Preview Lab → · Contrast checker → · Palette generator →

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