#FAFA98#FAFA98

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

Color values

HEX#FAFA98
RGBrgb(250, 250, 152)
HSLhsl(60, 91%, 79%)
HSVhsv(60, 39%, 98%)
CMYKcmyk(0%, 0%, 39.2%, 2%)
CIE-LABlab(96.40, -13.80, 46.96)
CIE-LCHlch(96.40, 48.94, 106.38°)
OKLaboklab(96.41% -0.0381 0.1142)
OKLCHoklch(96.41% 0.12 108.5)
XYZxyz(79.2786, 90.9638, 43.0812)
Luminance0.9096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA98 #9898FA
analogous
#FAC998 #FAFA98 #C9FA98
triadic
#FAFA98 #98FAFA #FA98FA
tetradic
#FAFA98 #98FAC9 #9898FA #FA98C9
square
#FAFA98 #98FAC9 #9898FA #FA98C9
split-complementary
#FAFA98 #98C9FA #C998FA
monochromatic
#F4F423 #F7F75E #FAFA98 #FDFDD2 #FEFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAFA98#FFFFFF#000000##000000
##FAFA981.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)
#FFF390
Deuteranopia (green-blind)
#FFF69C
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fafa98;
/* rgb */ color: rgb(250, 250, 152);
/* oklch */ color: oklch(96.4% 0.120 108.5);
Tailwind
colors: {
  custom: {
    50: '#fdfbb7',
    500: '#fafa98',
    950: '#000000',
  },
}
SCSS
$custom: #fafa98;
$custom-light: #fdfbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa98",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 60,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.96409,
    "c": 0.12034,
    "h": 108.5
  },
  "luminance": 0.90962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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