#FEFB77#FEFB77

#FEFB77 is a very light, vivid yellow. Relative luminance 0.914; OKLCH L 96.5% C 0.153 H 107.8°. Best body text is #000000 at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#FEFB77
RGBrgb(254, 251, 119)
HSLhsl(59, 99%, 73%)
HSVhsv(59, 53%, 100%)
CMYKcmyk(0%, 1.2%, 53.1%, 0.4%)
CIE-LABlab(96.57, -15.72, 62.60)
CIE-LCHlch(96.57, 64.54, 104.09°)
OKLaboklab(96.5% -0.0468 0.1461)
OKLCHoklch(96.5% 0.153 107.8)
XYZxyz(78.7021, 91.3993, 30.9452)
Luminance0.9140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB77 #777AFE
analogous
#FEB877 #FEFB77 #BDFE77
triadic
#FEFB77 #77FEFB #FB77FE
tetradic
#FEFB77 #77FEB8 #777AFE #FE77BD
square
#FEFB77 #77FEB8 #777AFE #FE77BD
split-complementary
#FEFB77 #77BDFE #B877FE
monochromatic
#F9F302 #FEF93A #FEFB77 #FEFDB4 #FFFEE1

Accessibility & contrast

On white

1.09
#FEFB77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.28
#FEFB77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB77
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB77#FFFFFF#000000##000000
##FEFB771.001.0919.2819.28
#FFFFFF1.091.0021.0021.00
#00000019.2821.001.001.00
##00000019.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26A
Deuteranopia (green-blind)
#FFF87E
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefb77;
/* rgb */ color: rgb(254, 251, 119);
/* oklch */ color: oklch(96.5% 0.153 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffca2',
    500: '#fefb77',
    950: '#000000',
  },
}
SCSS
$custom: #fefb77;
$custom-light: #fffca2;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb77",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 119
  },
  "hsl": {
    "h": 58.667,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.96502,
    "c": 0.15342,
    "h": 107.8
  },
  "luminance": 0.91397
}

Semantic roles & 50–950 ramp

primary
#FEFB77
secondary
#3E41DC
accent
#05E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFB77

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

Preview Lab → · Contrast checker → · Palette generator →

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