#FEF77A#FEF77A

#FEF77A is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.7% C 0.147 H 105.9°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#FEF77A
RGBrgb(254, 247, 122)
HSLhsl(57, 99%, 74%)
HSVhsv(57, 52%, 100%)
CMYKcmyk(0%, 2.8%, 52%, 0.4%)
CIE-LABlab(95.58, -13.54, 60.11)
CIE-LCHlch(95.58, 61.61, 102.69°)
OKLaboklab(95.72% -0.0403 0.141)
OKLCHoklch(95.72% 0.147 105.9)
XYZxyz(77.6488, 88.9998, 31.4970)
Luminance0.8900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF77A #7A81FE
analogous
#FEB57A #FEF77A #C3FE7A
triadic
#FEF77A #7AFEF7 #F77AFE
tetradic
#FEF77A #7AFEB5 #7A81FE #FE7AC3
square
#FEF77A #7AFEB5 #7A81FE #FE7AC3
split-complementary
#FEF77A #7AC3FE #B57AFE
monochromatic
#FCEE02 #FEF33D #FEF77A #FEFBB7 #FFFDE1

Accessibility & contrast

On white

1.12
#FEF77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.80
#FEF77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF77A
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF77A#FFFFFF#000000##000000
##FEF77A1.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6E
Deuteranopia (green-blind)
#FFF580
Tritanopia (blue-blind)
#FFE9DB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef77a;
/* rgb */ color: rgb(254, 247, 122);
/* oklch */ color: oklch(95.7% 0.147 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff9a4',
    500: '#fef77a',
    950: '#000000',
  },
}
SCSS
$custom: #fef77a;
$custom-light: #fff9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fef77a",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 122
  },
  "hsl": {
    "h": 56.818,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95721,
    "c": 0.14667,
    "h": 105.9
  },
  "luminance": 0.88997
}

Semantic roles & 50–950 ramp

primary
#FEF77A
secondary
#4049DC
accent
#0CE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF77A

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

Preview Lab → · Contrast checker → · Palette generator →

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