#FEFE7C#FEFE7C

#FEFE7C is a very light, vivid yellow. Relative luminance 0.934; OKLCH L 97.2% C 0.152 H 108.9°. Best body text is #000000 at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#FEFE7C
RGBrgb(254, 254, 124)
HSLhsl(60, 98%, 74%)
HSVhsv(60, 51%, 100%)
CMYKcmyk(0%, 0%, 51.2%, 0.4%)
CIE-LABlab(97.39, -16.77, 61.32)
CIE-LCHlch(97.39, 63.58, 105.30°)
OKLaboklab(97.17% -0.0493 0.1439)
OKLCHoklch(97.17% 0.152 108.9)
XYZxyz(79.9549, 93.4117, 32.8833)
Luminance0.9341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFE7C #7C7CFE
analogous
#FEBD7C #FEFE7C #BDFE7C
triadic
#FEFE7C #7CFEFE #FE7CFE
tetradic
#FEFE7C #7CFEBD #7C7CFE #FE7CBD
square
#FEFE7C #7CFEBD #7C7CFE #FE7CBD
split-complementary
#FEFE7C #7CBDFE #BD7CFE
monochromatic
#FDFD03 #FEFE3F #FEFE7C #FEFEB9 #FFFFE1

Accessibility & contrast

On white

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

On black

19.68
#FEFE7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFE7C
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFE7C#FFFFFF#000000##000000
##FEFE7C1.001.0719.6819.68
#FFFFFF1.071.0021.0021.00
#00000019.6821.001.001.00
##00000019.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefe7c;
/* rgb */ color: rgb(254, 254, 124);
/* oklch */ color: oklch(97.2% 0.152 108.9);
Tailwind
colors: {
  custom: {
    50: '#fffea5',
    500: '#fefe7c',
    950: '#000000',
  },
}
SCSS
$custom: #fefe7c;
$custom-light: #fffea5;
$custom-dark: #000000;
JSON
{
  "hex": "#fefe7c",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 124
  },
  "hsl": {
    "h": 60,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.97172,
    "c": 0.15207,
    "h": 108.9
  },
  "luminance": 0.9341
}

Semantic roles & 50–950 ramp

primary
#FEFE7C
secondary
#4242DC
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEFE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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