#FEF776#FEF776

#FEF776 is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.7% C 0.150 H 106.1°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#FEF776
RGBrgb(254, 247, 118)
HSLhsl(57, 99%, 73%)
HSVhsv(57, 54%, 100%)
CMYKcmyk(0%, 2.8%, 53.5%, 0.4%)
CIE-LABlab(95.54, -13.85, 61.85)
CIE-LCHlch(95.54, 63.38, 102.62°)
OKLaboklab(95.68% -0.0416 0.1444)
OKLCHoklch(95.68% 0.15 106.1)
XYZxyz(77.4061, 88.9027, 30.2185)
Luminance0.8890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF776 #767DFE
analogous
#FEB376 #FEF776 #C1FE76
triadic
#FEF776 #76FEF7 #F776FE
tetradic
#FEF776 #76FEB3 #767DFE #FE76C1
square
#FEF776 #76FEB3 #767DFE #FE76C1
split-complementary
#FEF776 #76C1FE #B376FE
monochromatic
#F8EB02 #FEF339 #FEF776 #FEFBB3 #FFFDE1

Accessibility & contrast

On white

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

On black

18.78
#FEF776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF776
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF776#FFFFFF#000000##000000
##FEF7761.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF69
Deuteranopia (green-blind)
#FFF57D
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef776;
/* rgb */ color: rgb(254, 247, 118);
/* oklch */ color: oklch(95.7% 0.150 106.1);
Tailwind
colors: {
  custom: {
    50: '#fff9a1',
    500: '#fef776',
    950: '#000000',
  },
}
SCSS
$custom: #fef776;
$custom-light: #fff9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef776",
  "rgb": {
    "r": 254,
    "g": 247,
    "b": 118
  },
  "hsl": {
    "h": 56.912,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95676,
    "c": 0.15026,
    "h": 106.1
  },
  "luminance": 0.889
}

Semantic roles & 50–950 ramp

primary
#FEF776
secondary
#3D45DB
accent
#0CE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF776

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

Preview Lab → · Contrast checker → · Palette generator →

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