#FAFA97#FAFA97

#FAFA97 is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.4% C 0.121 H 108.5°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#FAFA97
RGBrgb(250, 250, 151)
HSLhsl(60, 91%, 79%)
HSVhsv(60, 40%, 98%)
CMYKcmyk(0%, 0%, 39.6%, 2%)
CIE-LABlab(96.38, -13.90, 47.42)
CIE-LCHlch(96.38, 49.42, 106.34°)
OKLaboklab(96.39% -0.0385 0.1152)
OKLCHoklch(96.39% 0.121 108.5)
XYZxyz(79.1970, 90.9312, 42.6517)
Luminance0.9093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA97 #9797FA
analogous
#FAC897 #FAFA97 #C8FA97
triadic
#FAFA97 #97FAFA #FA97FA
tetradic
#FAFA97 #97FAC8 #9797FA #FA97C8
square
#FAFA97 #97FAC8 #9797FA #FA97C8
split-complementary
#FAFA97 #97C8FA #C897FA
monochromatic
#F4F422 #F7F75D #FAFA97 #FDFDD1 #FEFEE2

Accessibility & contrast

On white

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

On black

19.19
#FAFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA97
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA97#FFFFFF#000000##000000
##FAFA971.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28F
Deuteranopia (green-blind)
#FFF69B
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fafa97;
/* rgb */ color: rgb(250, 250, 151);
/* oklch */ color: oklch(96.4% 0.121 108.5);
Tailwind
colors: {
  custom: {
    50: '#fdfbb7',
    500: '#fafa97',
    950: '#000000',
  },
}
SCSS
$custom: #fafa97;
$custom-light: #fdfbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa97",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 60,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.96394,
    "c": 0.12141,
    "h": 108.5
  },
  "luminance": 0.9093
}

Semantic roles & 50–950 ramp

primary
#FAFA97
secondary
#5B5BDA
accent
#00E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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