#FAFE79#FAFE79

#FAFE79 is a very light, vivid yellow. Relative luminance 0.926; OKLCH L 96.8% C 0.155 H 110.5°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#FAFE79
RGBrgb(250, 254, 121)
HSLhsl(62, 99%, 74%)
HSVhsv(62, 52%, 100%)
CMYKcmyk(1.6%, 0%, 52.4%, 0.4%)
CIE-LABlab(97.06, -18.58, 62.19)
CIE-LCHlch(97.06, 64.91, 106.63°)
OKLaboklab(96.82% -0.0545 0.1455)
OKLCHoklch(96.82% 0.155 110.5)
XYZxyz(78.3192, 92.5898, 31.8314)
Luminance0.9259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE79 #7D79FE
analogous
#FEC079 #FAFE79 #B7FE79
triadic
#FAFE79 #79FAFE #FE79FA
tetradic
#FAFE79 #79FEC0 #7D79FE #FE79B7
square
#FAFE79 #79FEC0 #7D79FE #FE79B7
split-complementary
#FAFE79 #79B7FE #C079FE
monochromatic
#F3FB02 #F8FE3C #FAFE79 #FCFEB6 #FEFFE1

Accessibility & contrast

On white

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

On black

19.52
#FAFE79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE79
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE79#FFFFFF#000000##000000
##FAFE791.001.0819.5219.52
#FFFFFF1.081.0021.0021.00
#00000019.5221.001.001.00
##00000019.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF46C
Deuteranopia (green-blind)
#FFF980
Tritanopia (blue-blind)
#FFF1E0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fafe79;
/* rgb */ color: rgb(250, 254, 121);
/* oklch */ color: oklch(96.8% 0.155 110.5);
Tailwind
colors: {
  custom: {
    50: '#fefea3',
    500: '#fafe79',
    950: '#000000',
  },
}
SCSS
$custom: #fafe79;
$custom-light: #fefea3;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe79",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 121
  },
  "hsl": {
    "h": 61.805,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.96822,
    "c": 0.15538,
    "h": 110.5
  },
  "luminance": 0.92588
}

Semantic roles & 50–950 ramp

primary
#FAFE79
secondary
#443FDC
accent
#00E607
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFE79

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

Preview Lab → · Contrast checker → · Palette generator →

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