#FAFA76#FAFA76

#FAFA76 is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 96.0% C 0.154 H 109.0°. Best body text is #000000 at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#FAFA76
RGBrgb(250, 250, 118)
HSLhsl(60, 93%, 72%)
HSVhsv(60, 53%, 98%)
CMYKcmyk(0%, 0%, 52.8%, 2%)
CIE-LABlab(96.00, -16.88, 62.30)
CIE-LCHlch(96.00, 64.55, 105.16°)
OKLaboklab(95.97% -0.05 0.1454)
OKLCHoklch(95.97% 0.154 109)
XYZxyz(76.8819, 90.0052, 30.4588)
Luminance0.9000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA76 #7676FA
analogous
#FAB876 #FAFA76 #B8FA76
triadic
#FAFA76 #76FAFA #FA76FA
tetradic
#FAFA76 #76FAB8 #7676FA #FA76B8
square
#FAFA76 #76FAB8 #7676FA #FA76B8
split-complementary
#FAFA76 #76B8FA #B876FA
monochromatic
#EDED09 #F8F83B #FAFA76 #FCFCB1 #FEFEE1

Accessibility & contrast

On white

1.11
#FAFA76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.00
#FAFA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA76
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA76#FFFFFF#000000##000000
##FAFA761.001.1119.0019.00
#FFFFFF1.111.0021.0021.00
#00000019.0021.001.001.00
##00000019.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF169
Deuteranopia (green-blind)
#FFF67D
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fafa76;
/* rgb */ color: rgb(250, 250, 118);
/* oklch */ color: oklch(96.0% 0.154 109.0);
Tailwind
colors: {
  custom: {
    50: '#fefba1',
    500: '#fafa76',
    950: '#000000',
  },
}
SCSS
$custom: #fafa76;
$custom-light: #fefba1;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa76",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 118
  },
  "hsl": {
    "h": 60,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95966,
    "c": 0.15379,
    "h": 109
  },
  "luminance": 0.90003
}

Semantic roles & 50–950 ramp

primary
#FAFA76
secondary
#3E3ED6
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFA76

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

Preview Lab → · Contrast checker → · Palette generator →

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