#FAFC76#FAFC76

#FAFC76 is a very light, vivid yellow. Relative luminance 0.913; OKLCH L 96.4% C 0.156 H 109.8°. Best body text is #000000 at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#FAFC76
RGBrgb(250, 252, 118)
HSLhsl(61, 96%, 73%)
HSVhsv(61, 53%, 99%)
CMYKcmyk(0.8%, 0%, 53.2%, 1.2%)
CIE-LABlab(96.51, -17.85, 62.89)
CIE-LCHlch(96.51, 65.38, 105.84°)
OKLaboklab(96.38% -0.0528 0.1467)
OKLCHoklch(96.38% 0.156 109.8)
XYZxyz(77.5067, 91.2547, 30.6671)
Luminance0.9125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFC76 #7876FC
analogous
#FCBB76 #FAFC76 #B7FC76
triadic
#FAFC76 #76FAFC #FC76FA
tetradic
#FAFC76 #76FCBB #7876FC #FC76B7
square
#FAFC76 #76FCBB #7876FC #FC76B7
split-complementary
#FAFC76 #76B7FC #BB76FC
monochromatic
#EFF205 #F8FB3A #FAFC76 #FCFDB2 #FEFEE1

Accessibility & contrast

On white

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

On black

19.25
#FAFC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFC76
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFC76#FFFFFF#000000##000000
##FAFC761.001.0919.2519.25
#FFFFFF1.091.0021.0021.00
#00000019.2521.001.001.00
##00000019.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF369
Deuteranopia (green-blind)
#FFF77D
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fafc76;
/* rgb */ color: rgb(250, 252, 118);
/* oklch */ color: oklch(96.4% 0.156 109.8);
Tailwind
colors: {
  custom: {
    50: '#fefda1',
    500: '#fafc76',
    950: '#000000',
  },
}
SCSS
$custom: #fafc76;
$custom-light: #fefda1;
$custom-dark: #000000;
JSON
{
  "hex": "#fafc76",
  "rgb": {
    "r": 250,
    "g": 252,
    "b": 118
  },
  "hsl": {
    "h": 60.896,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.96377,
    "c": 0.1559,
    "h": 109.8
  },
  "luminance": 0.91253
}

Semantic roles & 50–950 ramp

primary
#FAFC76
secondary
#403DD9
accent
#00E603
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFC76

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

Preview Lab → · Contrast checker → · Palette generator →

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