#FEFE7A#FEFE7A

#FEFE7A is a very light, vivid yellow. Relative luminance 0.934; OKLCH L 97.1% C 0.154 H 109.0°. Best body text is #000000 at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#FEFE7A
RGBrgb(254, 254, 122)
HSLhsl(60, 99%, 74%)
HSVhsv(60, 52%, 100%)
CMYKcmyk(0%, 0%, 52%, 0.4%)
CIE-LABlab(97.37, -16.93, 62.19)
CIE-LCHlch(97.37, 64.45, 105.23°)
OKLaboklab(97.15% -0.05 0.1455)
OKLCHoklch(97.15% 0.154 109)
XYZxyz(79.8297, 93.3616, 32.2239)
Luminance0.9336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFE7A #7A7AFE
analogous
#FEBC7A #FEFE7A #BCFE7A
triadic
#FEFE7A #7AFEFE #FE7AFE
tetradic
#FEFE7A #7AFEBC #7A7AFE #FE7ABC
square
#FEFE7A #7AFEBC #7A7AFE #FE7ABC
split-complementary
#FEFE7A #7ABCFE #BC7AFE
monochromatic
#FCFC02 #FEFE3D #FEFE7A #FEFEB7 #FFFFE1

Accessibility & contrast

On white

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

On black

19.67
#FEFE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFE7A
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFE7A#FFFFFF#000000##000000
##FEFE7A1.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF56D
Deuteranopia (green-blind)
#FFFA81
Tritanopia (blue-blind)
#FFF0E0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefe7a;
/* rgb */ color: rgb(254, 254, 122);
/* oklch */ color: oklch(97.1% 0.154 109.0);
Tailwind
colors: {
  custom: {
    50: '#fffea4',
    500: '#fefe7a',
    950: '#000000',
  },
}
SCSS
$custom: #fefe7a;
$custom-light: #fffea4;
$custom-dark: #000000;
JSON
{
  "hex": "#fefe7a",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 122
  },
  "hsl": {
    "h": 60,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.97149,
    "c": 0.15387,
    "h": 109
  },
  "luminance": 0.9336
}

Semantic roles & 50–950 ramp

primary
#FEFE7A
secondary
#4040DC
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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