#FAFA80#FAFA80

#FAFA80 is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 96.1% C 0.145 H 108.8°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#FAFA80
RGBrgb(250, 250, 128)
HSLhsl(60, 92%, 74%)
HSVhsv(60, 49%, 98%)
CMYKcmyk(0%, 0%, 48.8%, 2%)
CIE-LABlab(96.10, -16.07, 57.92)
CIE-LCHlch(96.10, 60.11, 105.51°)
OKLaboklab(96.08% -0.0467 0.1369)
OKLCHoklch(96.08% 0.145 108.8)
XYZxyz(77.5080, 90.2556, 33.7560)
Luminance0.9025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA80 #8080FA
analogous
#FABD80 #FAFA80 #BDFA80
triadic
#FAFA80 #80FAFA #FA80FA
tetradic
#FAFA80 #80FABD #8080FA #FA80BD
square
#FAFA80 #80FABD #8080FA #FA80BD
split-complementary
#FAFA80 #80BDFA #BD80FA
monochromatic
#F5F50A #F8F845 #FAFA80 #FCFCBB #FEFEE2

Accessibility & contrast

On white

1.10
#FAFA80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.05
#FAFA80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA80
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA80#FFFFFF#000000##000000
##FAFA801.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF175
Deuteranopia (green-blind)
#FFF686
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fafa80;
/* rgb */ color: rgb(250, 250, 128);
/* oklch */ color: oklch(96.1% 0.145 108.8);
Tailwind
colors: {
  custom: {
    50: '#fefba8',
    500: '#fafa80',
    950: '#000000',
  },
}
SCSS
$custom: #fafa80;
$custom-light: #fefba8;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa80",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 128
  },
  "hsl": {
    "h": 60,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.96082,
    "c": 0.14463,
    "h": 108.8
  },
  "luminance": 0.90254
}

Semantic roles & 50–950 ramp

primary
#FAFA80
secondary
#4747D7
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFA80

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

Preview Lab → · Contrast checker → · Palette generator →

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