#FAFA79#FAFA79

#FAFA79 is a very light, vivid yellow. Relative luminance 0.901; OKLCH L 96.0% C 0.151 H 108.9°. Best body text is #000000 at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#FAFA79
RGBrgb(250, 250, 121)
HSLhsl(60, 93%, 73%)
HSVhsv(60, 52%, 98%)
CMYKcmyk(0%, 0%, 51.6%, 2%)
CIE-LABlab(96.03, -16.65, 61.00)
CIE-LCHlch(96.03, 63.23, 105.26°)
OKLaboklab(96% -0.049 0.1429)
OKLCHoklch(96% 0.151 108.9)
XYZxyz(77.0631, 90.0776, 31.4127)
Luminance0.9008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA79 #7979FA
analogous
#FAB979 #FAFA79 #B9FA79
triadic
#FAFA79 #79FAFA #FA79FA
tetradic
#FAFA79 #79FAB9 #7979FA #FA79B9
square
#FAFA79 #79FAB9 #7979FA #FA79B9
split-complementary
#FAFA79 #79B9FA #B979FA
monochromatic
#F0F009 #F8F83E #FAFA79 #FCFCB4 #FEFEE2

Accessibility & contrast

On white

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

On black

19.02
#FAFA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA79
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA79#FFFFFF#000000##000000
##FAFA791.001.1019.0219.02
#FFFFFF1.101.0021.0021.00
#00000019.0221.001.001.00
##00000019.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16C
Deuteranopia (green-blind)
#FFF680
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fafa79;
/* rgb */ color: rgb(250, 250, 121);
/* oklch */ color: oklch(96.0% 0.151 108.9);
Tailwind
colors: {
  custom: {
    50: '#fefba3',
    500: '#fafa79',
    950: '#000000',
  },
}
SCSS
$custom: #fafa79;
$custom-light: #fefba3;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa79",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 121
  },
  "hsl": {
    "h": 60,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95999,
    "c": 0.1511,
    "h": 108.9
  },
  "luminance": 0.90076
}

Semantic roles & 50–950 ramp

primary
#FAFA79
secondary
#4141D7
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFA79

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

Preview Lab → · Contrast checker → · Palette generator →

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