#FFFE7B#FFFE7B

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

Color values

HEX#FFFE7B
RGBrgb(255, 254, 123)
HSLhsl(60, 100%, 74%)
HSVhsv(60, 52%, 100%)
CMYKcmyk(0%, 0.4%, 51.8%, 0%)
CIE-LABlab(97.46, -16.46, 61.87)
CIE-LCHlch(97.46, 64.02, 104.90°)
OKLaboklab(97.24% -0.0486 0.1449)
OKLCHoklch(97.24% 0.153 108.5)
XYZxyz(80.2590, 93.5757, 32.5691)
Luminance0.9357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE7B #7B7CFF
analogous
#FFBC7B #FFFE7B #BEFF7B
triadic
#FFFE7B #7BFFFE #FE7BFF
tetradic
#FFFE7B #7BFFBC #7B7CFF #FF7BBE
square
#FFFE7B #7BFFBC #7B7CFF #FF7BBE
split-complementary
#FFFE7B #7BBEFF #BC7BFF
monochromatic
#FFFD01 #FFFE3E #FFFE7B #FFFEB8 #FFFFE0

Accessibility & contrast

On white

1.07
#FFFE7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.71
#FFFE7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE7B
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE7B#FFFFFF#000000##000000
##FFFE7B1.001.0719.7119.71
#FFFFFF1.071.0021.0021.00
#00000019.7121.001.001.00
##00000019.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffe7b;
/* rgb */ color: rgb(255, 254, 123);
/* oklch */ color: oklch(97.2% 0.153 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffea5',
    500: '#fffe7b',
    950: '#000000',
  },
}
SCSS
$custom: #fffe7b;
$custom-light: #fffea5;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe7b",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 123
  },
  "hsl": {
    "h": 59.545,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.9724,
    "c": 0.15284,
    "h": 108.5
  },
  "luminance": 0.93574
}

Semantic roles & 50–950 ramp

primary
#FFFE7B
secondary
#4142DD
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFE7B

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

Preview Lab → · Contrast checker → · Palette generator →

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