#FEF77E#FEF77E

#FEF77E is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.8% C 0.143 H 105.8°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#FEF77E
RGBrgb(254, 247, 126)
HSLhsl(57, 98%, 75%)
HSVhsv(57, 50%, 100%)
CMYKcmyk(0%, 2.8%, 50.4%, 0.4%)
CIE-LABlab(95.62, -13.21, 58.34)
CIE-LCHlch(95.62, 59.82, 102.76°)
OKLaboklab(95.77% -0.0389 0.1376)
OKLCHoklch(95.77% 0.143 105.8)
XYZxyz(77.9018, 89.1010, 32.8292)
Luminance0.8910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF77E #7E85FE
analogous
#FEB77E #FEF77E #C5FE7E
triadic
#FEF77E #7EFEF7 #F77EFE
tetradic
#FEF77E #7EFEB7 #7E85FE #FE7EC5
square
#FEF77E #7EFEB7 #7E85FE #FE7EC5
split-complementary
#FEF77E #7EC5FE #B77EFE
monochromatic
#FDEF05 #FEF341 #FEF77E #FEFBBB #FFFDE1

Accessibility & contrast

On white

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

On black

18.82
#FEF77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF77E
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF77E#FFFFFF#000000##000000
##FEF77E1.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF73
Deuteranopia (green-blind)
#FFF584
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef77e;
/* rgb */ color: rgb(254, 247, 126);
/* oklch */ color: oklch(95.8% 0.143 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff9a6',
    500: '#fef77e',
    950: '#000000',
  },
}
SCSS
$custom: #fef77e;
$custom-light: #fff9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fef77e",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 126
  },
  "hsl": {
    "h": 56.719,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.95768,
    "c": 0.14297,
    "h": 105.8
  },
  "luminance": 0.89099
}

Semantic roles & 50–950 ramp

primary
#FEF77E
secondary
#444CDD
accent
#0DE600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEF77E

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

Preview Lab → · Contrast checker → · Palette generator →

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