#FAFB86#FAFB86

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

Color values

HEX#FAFB86
RGBrgb(250, 251, 134)
HSLhsl(61, 94%, 75%)
HSVhsv(61, 47%, 98%)
CMYKcmyk(0.4%, 0%, 46.6%, 1.6%)
CIE-LABlab(96.43, -16.03, 55.54)
CIE-LCHlch(96.43, 57.81, 106.10°)
OKLaboklab(96.36% -0.046 0.1322)
OKLCHoklch(96.36% 0.14 109.2)
XYZxyz(78.2262, 91.0413, 36.0016)
Luminance0.9104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFB86 #8786FB
analogous
#FBC186 #FAFB86 #BFFB86
triadic
#FAFB86 #86FAFB #FB86FA
tetradic
#FAFB86 #86FBC1 #8786FB #FB86BF
square
#FAFB86 #86FBC1 #8786FB #FB86BF
split-complementary
#FAFB86 #86BFFB #C186FB
monochromatic
#F5F710 #F8F94B #FAFB86 #FCFDC1 #FEFEE1

Accessibility & contrast

On white

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

On black

19.21
#FAFB86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFB86
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFB86#FFFFFF#000000##000000
##FAFB861.001.0919.2119.21
#FFFFFF1.091.0021.0021.00
#00000019.2121.001.001.00
##00000019.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF27C
Deuteranopia (green-blind)
#FFF78C
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fafb86;
/* rgb */ color: rgb(250, 251, 134);
/* oklch */ color: oklch(96.4% 0.140 109.2);
Tailwind
colors: {
  custom: {
    50: '#fefcac',
    500: '#fafb86',
    950: '#000000',
  },
}
SCSS
$custom: #fafb86;
$custom-light: #fefcac;
$custom-dark: #000000;
JSON
{
  "hex": "#fafb86",
  "rgb": {
    "r": 250,
    "g": 251,
    "b": 134
  },
  "hsl": {
    "h": 60.513,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.96362,
    "c": 0.13994,
    "h": 109.2
  },
  "luminance": 0.9104
}

Semantic roles & 50–950 ramp

primary
#FAFB86
secondary
#4D4CDA
accent
#00E602
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFB86

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

Preview Lab → · Contrast checker → · Palette generator →

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