#FAFC8A#FAFC8A

#FAFC8A is a very light, vivid yellow. Relative luminance 0.918; OKLCH L 96.6% C 0.137 H 109.6°. Best body text is #000000 at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#FAFC8A
RGBrgb(250, 252, 138)
HSLhsl(61, 95%, 76%)
HSVhsv(61, 45%, 99%)
CMYKcmyk(0.8%, 0%, 45.2%, 1.2%)
CIE-LABlab(96.73, -16.15, 54.04)
CIE-LCHlch(96.73, 56.41, 106.64°)
OKLaboklab(96.62% -0.046 0.1291)
OKLCHoklch(96.62% 0.137 109.6)
XYZxyz(78.8237, 91.7815, 37.6031)
Luminance0.9178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFC8A #8C8AFC
analogous
#FCC58A #FAFC8A #C1FC8A
triadic
#FAFC8A #8AFAFC #FC8AFA
tetradic
#FAFC8A #8AFCC5 #8C8AFC #FC8AC1
square
#FAFC8A #8AFCC5 #8C8AFC #FC8AC1
split-complementary
#FAFC8A #8AC1FC #C58AFC
monochromatic
#F5F913 #F7FA4E #FAFC8A #FDFEC6 #FEFEE1

Accessibility & contrast

On white

1.08
#FAFC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.36
#FAFC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFC8A
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFC8A#FFFFFF#000000##000000
##FAFC8A1.001.0819.3619.36
#FFFFFF1.081.0021.0021.00
#00000019.3621.001.001.00
##00000019.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF380
Deuteranopia (green-blind)
#FFF88F
Tritanopia (blue-blind)
#FFF0E1
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafc8a;
/* rgb */ color: rgb(250, 252, 138);
/* oklch */ color: oklch(96.6% 0.137 109.6);
Tailwind
colors: {
  custom: {
    50: '#fefdae',
    500: '#fafc8a',
    950: '#000000',
  },
}
SCSS
$custom: #fafc8a;
$custom-light: #fefdae;
$custom-dark: #000000;
JSON
{
  "hex": "#fafc8a",
  "rgb": {
    "r": 250,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 61.053,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.96619,
    "c": 0.13709,
    "h": 109.6
  },
  "luminance": 0.9178
}

Semantic roles & 50–950 ramp

primary
#FAFC8A
secondary
#514FDC
accent
#00E604
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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