#FAFC8B#FAFC8B

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

Color values

HEX#FAFC8B
RGBrgb(250, 252, 139)
HSLhsl(61, 95%, 77%)
HSVhsv(61, 45%, 99%)
CMYKcmyk(0.8%, 0%, 44.8%, 1.2%)
CIE-LABlab(96.74, -16.06, 53.59)
CIE-LCHlch(96.74, 55.94, 106.68°)
OKLaboklab(96.63% -0.0456 0.1282)
OKLCHoklch(96.63% 0.136 109.6)
XYZxyz(78.8964, 91.8106, 37.9862)
Luminance0.9181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFC8B #8D8BFC
analogous
#FCC68B #FAFC8B #C2FC8B
triadic
#FAFC8B #8BFAFC #FC8BFA
tetradic
#FAFC8B #8BFCC6 #8D8BFC #FC8BC2
square
#FAFC8B #8BFCC6 #8D8BFC #FC8BC2
split-complementary
#FAFC8B #8BC2FC #C68BFC
monochromatic
#F5F914 #F7FA4F #FAFC8B #FDFEC7 #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAFC8B#FFFFFF#000000##000000
##FAFC8B1.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)
#FFF481
Deuteranopia (green-blind)
#FFF890
Tritanopia (blue-blind)
#FFF0E1
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fafc8b;
/* rgb */ color: rgb(250, 252, 139);
/* oklch */ color: oklch(96.6% 0.136 109.6);
Tailwind
colors: {
  custom: {
    50: '#fefdaf',
    500: '#fafc8b',
    950: '#000000',
  },
}
SCSS
$custom: #fafc8b;
$custom-light: #fefdaf;
$custom-dark: #000000;
JSON
{
  "hex": "#fafc8b",
  "rgb": {
    "r": 250,
    "g": 252,
    "b": 139
  },
  "hsl": {
    "h": 61.062,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.96632,
    "c": 0.1361,
    "h": 109.6
  },
  "luminance": 0.91809
}

Semantic roles & 50–950 ramp

primary
#FAFC8B
secondary
#5250DC
accent
#00E604
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFC8B

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

Preview Lab → · Contrast checker → · Palette generator →

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