#FAFA71#FAFA71

#FAFA71 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 95.9% C 0.158 H 109.0°. Best body text is #000000 at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#FAFA71
RGBrgb(250, 250, 113)
HSLhsl(60, 93%, 71%)
HSVhsv(60, 55%, 98%)
CMYKcmyk(0%, 0%, 54.8%, 2%)
CIE-LABlab(95.95, -17.26, 64.44)
CIE-LCHlch(95.95, 66.71, 105.00°)
OKLaboklab(95.91% -0.0516 0.1495)
OKLCHoklch(95.91% 0.158 109)
XYZxyz(76.5927, 89.8894, 28.9353)
Luminance0.8989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA71 #7171FA
analogous
#FAB571 #FAFA71 #B5FA71
triadic
#FAFA71 #71FAFA #FA71FA
tetradic
#FAFA71 #71FAB5 #7171FA #FA71B5
square
#FAFA71 #71FAB5 #7171FA #FA71B5
split-complementary
#FAFA71 #71B5FA #B571FA
monochromatic
#E8E808 #F8F836 #FAFA71 #FCFCAC #FEFEE1

Accessibility & contrast

On white

1.11
#FAFA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.98
#FAFA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA71
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA71#FFFFFF#000000##000000
##FAFA711.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF163
Deuteranopia (green-blind)
#FFF679
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fafa71;
/* rgb */ color: rgb(250, 250, 113);
/* oklch */ color: oklch(95.9% 0.158 109.0);
Tailwind
colors: {
  custom: {
    50: '#fffb9e',
    500: '#fafa71',
    950: '#000000',
  },
}
SCSS
$custom: #fafa71;
$custom-light: #fffb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa71",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95912,
    "c": 0.15814,
    "h": 109
  },
  "luminance": 0.89887
}

Semantic roles & 50–950 ramp

primary
#FAFA71
secondary
#3A3AD5
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFA71

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

Preview Lab → · Contrast checker → · Palette generator →

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