#FAFE77#FAFE77

#FAFE77 is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 96.8% C 0.157 H 110.6°. Best body text is #000000 at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#FAFE77
RGBrgb(250, 254, 119)
HSLhsl(62, 99%, 73%)
HSVhsv(62, 53%, 100%)
CMYKcmyk(1.6%, 0%, 53.1%, 0.4%)
CIE-LABlab(97.04, -18.73, 63.06)
CIE-LCHlch(97.04, 65.78, 106.55°)
OKLaboklab(96.8% -0.0552 0.1472)
OKLCHoklch(96.8% 0.157 110.6)
XYZxyz(78.1978, 92.5413, 31.1921)
Luminance0.9254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE77 #7B77FE
analogous
#FEBE77 #FAFE77 #B6FE77
triadic
#FAFE77 #77FAFE #FE77FA
tetradic
#FAFE77 #77FEBE #7B77FE #FE77B6
square
#FAFE77 #77FEBE #7B77FE #FE77B6
split-complementary
#FAFE77 #77B6FE #BE77FE
monochromatic
#F1F902 #F8FE3A #FAFE77 #FCFEB4 #FEFFE1

Accessibility & contrast

On white

1.08
#FAFE77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.51
#FAFE77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE77
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE77#FFFFFF#000000##000000
##FAFE771.001.0819.5119.51
#FFFFFF1.081.0021.0021.00
#00000019.5121.001.001.00
##00000019.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF469
Deuteranopia (green-blind)
#FFF97E
Tritanopia (blue-blind)
#FFF0E0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafe77;
/* rgb */ color: rgb(250, 254, 119);
/* oklch */ color: oklch(96.8% 0.157 110.6);
Tailwind
colors: {
  custom: {
    50: '#fefea2',
    500: '#fafe77',
    950: '#000000',
  },
}
SCSS
$custom: #fafe77;
$custom-light: #fefea2;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe77",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 119
  },
  "hsl": {
    "h": 61.778,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.968,
    "c": 0.15715,
    "h": 110.6
  },
  "luminance": 0.9254
}

Semantic roles & 50–950 ramp

primary
#FAFE77
secondary
#423EDC
accent
#00E607
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFE77

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

Preview Lab → · Contrast checker → · Palette generator →

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