#FAFA8A#FAFA8A

#FAFA8A is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.2% C 0.135 H 108.7°. Best body text is #000000 at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#FAFA8A
RGBrgb(250, 250, 138)
HSLhsl(60, 92%, 76%)
HSVhsv(60, 45%, 98%)
CMYKcmyk(0%, 0%, 44.8%, 2%)
CIE-LABlab(96.22, -15.18, 53.42)
CIE-LCHlch(96.22, 55.53, 105.86°)
OKLaboklab(96.21% -0.0432 0.1278)
OKLCHoklch(96.21% 0.135 108.7)
XYZxyz(78.1989, 90.5319, 37.3949)
Luminance0.9053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA8A #8A8AFA
analogous
#FAC28A #FAFA8A #C2FA8A
triadic
#FAFA8A #8AFAFA #FA8AFA
tetradic
#FAFA8A #8AFAC2 #8A8AFA #FA8AC2
square
#FAFA8A #8AFAC2 #8A8AFA #FA8AC2
split-complementary
#FAFA8A #8AC2FA #C28AFA
monochromatic
#F5F515 #F7F74F #FAFA8A #FDFDC5 #FEFEE2

Accessibility & contrast

On white

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

On black

19.11
#FAFA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA8A
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA8A#FFFFFF#000000##000000
##FAFA8A1.001.1019.1119.11
#FFFFFF1.101.0021.0021.00
#00000019.1121.001.001.00
##00000019.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF280
Deuteranopia (green-blind)
#FFF68F
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fafa8a;
/* rgb */ color: rgb(250, 250, 138);
/* oklch */ color: oklch(96.2% 0.135 108.7);
Tailwind
colors: {
  custom: {
    50: '#fefbae',
    500: '#fafa8a',
    950: '#000000',
  },
}
SCSS
$custom: #fafa8a;
$custom-light: #fefbae;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa8a",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.9621,
    "c": 0.13488,
    "h": 108.7
  },
  "luminance": 0.9053
}

Semantic roles & 50–950 ramp

primary
#FAFA8A
secondary
#4F4FD9
accent
#00E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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