#FAFB71#FAFB71

#FAFB71 is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.1% C 0.159 H 109.4°. Best body text is #000000 at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#FAFB71
RGBrgb(250, 251, 113)
HSLhsl(60, 95%, 71%)
HSVhsv(60, 55%, 98%)
CMYKcmyk(0.4%, 0%, 55%, 1.6%)
CIE-LABlab(96.21, -17.74, 64.73)
CIE-LCHlch(96.21, 67.11, 105.33°)
OKLaboklab(96.12% -0.053 0.1501)
OKLCHoklch(96.12% 0.159 109.4)
XYZxyz(76.9042, 90.5126, 29.0391)
Luminance0.9051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFB71 #7271FB
analogous
#FBB771 #FAFB71 #B5FB71
triadic
#FAFB71 #71FAFB #FB71FA
tetradic
#FAFB71 #71FBB7 #7271FB #FB71B5
square
#FAFB71 #71FBB7 #7271FB #FB71B5
split-complementary
#FAFB71 #71B5FB #B771FB
monochromatic
#E9EB07 #F8F935 #FAFB71 #FCFDAD #FEFEE1

Accessibility & contrast

On white

1.10
#FAFB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.10
#FAFB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFB71
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFB71#FFFFFF#000000##000000
##FAFB711.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF263
Deuteranopia (green-blind)
#FFF679
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fafb71;
/* rgb */ color: rgb(250, 251, 113);
/* oklch */ color: oklch(96.1% 0.159 109.4);
Tailwind
colors: {
  custom: {
    50: '#fffc9e',
    500: '#fafb71',
    950: '#000000',
  },
}
SCSS
$custom: #fafb71;
$custom-light: #fffc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fafb71",
  "rgb": {
    "r": 250,
    "g": 251,
    "b": 113
  },
  "hsl": {
    "h": 60.435,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.96118,
    "c": 0.15917,
    "h": 109.4
  },
  "luminance": 0.90511
}

Semantic roles & 50–950 ramp

primary
#FAFB71
secondary
#3B39D7
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFB71

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

Preview Lab → · Contrast checker → · Palette generator →

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