#FAFE97#FAFE97

#FAFE97 is a very light, vivid yellow. Relative luminance 0.934; OKLCH L 97.2% C 0.126 H 110.5°. Best body text is #000000 at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#FAFE97
RGBrgb(250, 254, 151)
HSLhsl(62, 98%, 79%)
HSVhsv(62, 41%, 100%)
CMYKcmyk(1.6%, 0%, 40.6%, 0.4%)
CIE-LABlab(97.41, -15.85, 48.72)
CIE-LCHlch(97.41, 51.23, 108.02°)
OKLaboklab(97.21% -0.044 0.1181)
OKLCHoklch(97.21% 0.126 110.5)
XYZxyz(80.4532, 93.4434, 43.0704)
Luminance0.9344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE97 #9B97FE
analogous
#FECF97 #FAFE97 #C7FE97
triadic
#FAFE97 #97FAFE #FE97FA
tetradic
#FAFE97 #97FECF #9B97FE #FE97C7
square
#FAFE97 #97FECF #9B97FE #FE97C7
split-complementary
#FAFE97 #97C7FE #CF97FE
monochromatic
#F4FD1E #F7FD5A #FAFE97 #FDFFD4 #FEFFE1

Accessibility & contrast

On white

1.07
#FAFE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.69
#FAFE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE97
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE97#FFFFFF#000000##000000
##FAFE971.001.0719.6919.69
#FFFFFF1.071.0021.0021.00
#00000019.6921.001.001.00
##00000019.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF68F
Deuteranopia (green-blind)
#FFF99C
Tritanopia (blue-blind)
#FFF3E5
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fafe97;
/* rgb */ color: rgb(250, 254, 151);
/* oklch */ color: oklch(97.2% 0.126 110.5);
Tailwind
colors: {
  custom: {
    50: '#fdfeb7',
    500: '#fafe97',
    950: '#000000',
  },
}
SCSS
$custom: #fafe97;
$custom-light: #fdfeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe97",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 62.33,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.9721,
    "c": 0.12602,
    "h": 110.5
  },
  "luminance": 0.93442
}

Semantic roles & 50–950 ramp

primary
#FAFE97
secondary
#5E59E0
accent
#00E609
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAFE97

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

Preview Lab → · Contrast checker → · Palette generator →

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