#FAFC71#FAFC71

#FAFC71 is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.3% C 0.160 H 109.8°. Best body text is #000000 at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#FAFC71
RGBrgb(250, 252, 113)
HSLhsl(61, 96%, 72%)
HSVhsv(61, 55%, 99%)
CMYKcmyk(0.8%, 0%, 55.2%, 1.2%)
CIE-LABlab(96.47, -18.23, 65.02)
CIE-LCHlch(96.47, 67.52, 105.66°)
OKLaboklab(96.32% -0.0543 0.1507)
OKLCHoklch(96.32% 0.16 109.8)
XYZxyz(77.2174, 91.1390, 29.1435)
Luminance0.9114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFC71 #7371FC
analogous
#FCB971 #FAFC71 #B5FC71
triadic
#FAFC71 #71FAFC #FC71FA
tetradic
#FAFC71 #71FCB9 #7371FC #FC71B5
square
#FAFC71 #71FCB9 #7371FC #FC71B5
split-complementary
#FAFC71 #71B5FC #B971FC
monochromatic
#EAEE05 #F8FB35 #FAFC71 #FCFDAD #FEFEE1

Accessibility & contrast

On white

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

On black

19.23
#FAFC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFC71
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFC71#FFFFFF#000000##000000
##FAFC711.001.0919.2319.23
#FFFFFF1.091.0021.0021.00
#00000019.2321.001.001.00
##00000019.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF262
Deuteranopia (green-blind)
#FFF779
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fafc71;
/* rgb */ color: rgb(250, 252, 113);
/* oklch */ color: oklch(96.3% 0.160 109.8);
Tailwind
colors: {
  custom: {
    50: '#fffd9e',
    500: '#fafc71',
    950: '#000000',
  },
}
SCSS
$custom: #fafc71;
$custom-light: #fffd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fafc71",
  "rgb": {
    "r": 250,
    "g": 252,
    "b": 113
  },
  "hsl": {
    "h": 60.863,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.96324,
    "c": 0.16021,
    "h": 109.8
  },
  "luminance": 0.91137
}

Semantic roles & 50–950 ramp

primary
#FAFC71
secondary
#3B39D8
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFC71

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

Preview Lab → · Contrast checker → · Palette generator →

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