#FAFA82#FAFA82

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

Color values

HEX#FAFA82
RGBrgb(250, 250, 130)
HSLhsl(60, 92%, 75%)
HSVhsv(60, 48%, 98%)
CMYKcmyk(0%, 0%, 48%, 2%)
CIE-LABlab(96.12, -15.90, 57.03)
CIE-LCHlch(96.12, 59.20, 105.58°)
OKLaboklab(96.11% -0.046 0.1351)
OKLCHoklch(96.11% 0.143 108.8)
XYZxyz(77.6409, 90.3088, 34.4562)
Luminance0.9031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA82 #8282FA
analogous
#FABE82 #FAFA82 #BEFA82
triadic
#FAFA82 #82FAFA #FA82FA
tetradic
#FAFA82 #82FABE #8282FA #FA82BE
square
#FAFA82 #82FABE #8282FA #FA82BE
split-complementary
#FAFA82 #82BEFA #BE82FA
monochromatic
#F5F50C #F8F847 #FAFA82 #FCFCBD #FEFEE2

Accessibility & contrast

On white

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

On black

19.06
#FAFA82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA82
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA82#FFFFFF#000000##000000
##FAFA821.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fafa82;
/* rgb */ color: rgb(250, 250, 130);
/* oklch */ color: oklch(96.1% 0.143 108.8);
Tailwind
colors: {
  custom: {
    50: '#fefba9',
    500: '#fafa82',
    950: '#000000',
  },
}
SCSS
$custom: #fafa82;
$custom-light: #fefba9;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa82",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 130
  },
  "hsl": {
    "h": 60,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.96106,
    "c": 0.14272,
    "h": 108.8
  },
  "luminance": 0.90307
}

Semantic roles & 50–950 ramp

primary
#FAFA82
secondary
#4848D8
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFA82

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

Preview Lab → · Contrast checker → · Palette generator →

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