#FAFC8D#FAFC8D

#FAFC8D is a very light, vivid yellow. Relative luminance 0.919; OKLCH L 96.7% C 0.134 H 109.6°. Best body text is #000000 at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#FAFC8D
RGBrgb(250, 252, 141)
HSLhsl(61, 95%, 77%)
HSVhsv(61, 44%, 99%)
CMYKcmyk(0.8%, 0%, 44%, 1.2%)
CIE-LABlab(96.77, -15.87, 52.68)
CIE-LCHlch(96.77, 55.02, 106.76°)
OKLaboklab(96.66% -0.0449 0.1263)
OKLCHoklch(96.66% 0.134 109.6)
XYZxyz(79.0439, 91.8695, 38.7628)
Luminance0.9187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFC8D #8F8DFC
analogous
#FCC78D #FAFC8D #C3FC8D
triadic
#FAFC8D #8DFAFC #FC8DFA
tetradic
#FAFC8D #8DFCC7 #8F8DFC #FC8DC3
square
#FAFC8D #8DFCC7 #8F8DFC #FC8DC3
split-complementary
#FAFC8D #8DC3FC #C78DFC
monochromatic
#F5F916 #F7FA51 #FAFC8D #FDFEC9 #FEFEE1

Accessibility & contrast

On white

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

On black

19.37
#FAFC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFC8D
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFC8D#FFFFFF#000000##000000
##FAFC8D1.001.0819.3719.37
#FFFFFF1.081.0021.0021.00
#00000019.3721.001.001.00
##00000019.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF484
Deuteranopia (green-blind)
#FFF892
Tritanopia (blue-blind)
#FFF0E2
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafc8d;
/* rgb */ color: rgb(250, 252, 141);
/* oklch */ color: oklch(96.7% 0.134 109.6);
Tailwind
colors: {
  custom: {
    50: '#fefdb0',
    500: '#fafc8d',
    950: '#000000',
  },
}
SCSS
$custom: #fafc8d;
$custom-light: #fefdb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fafc8d",
  "rgb": {
    "r": 250,
    "g": 252,
    "b": 141
  },
  "hsl": {
    "h": 61.081,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.96659,
    "c": 0.13408,
    "h": 109.6
  },
  "luminance": 0.91868
}

Semantic roles & 50–950 ramp

primary
#FAFC8D
secondary
#5451DC
accent
#00E604
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FAFC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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