#FAFA78#FAFA78

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

Color values

HEX#FAFA78
RGBrgb(250, 250, 120)
HSLhsl(60, 93%, 73%)
HSVhsv(60, 52%, 98%)
CMYKcmyk(0%, 0%, 52%, 2%)
CIE-LABlab(96.02, -16.73, 61.43)
CIE-LCHlch(96.02, 63.67, 105.23°)
OKLaboklab(95.99% -0.0494 0.1438)
OKLCHoklch(95.99% 0.152 109)
XYZxyz(77.0020, 90.0532, 31.0914)
Luminance0.9005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA78 #7878FA
analogous
#FAB978 #FAFA78 #B9FA78
triadic
#FAFA78 #78FAFA #FA78FA
tetradic
#FAFA78 #78FAB9 #7878FA #FA78B9
square
#FAFA78 #78FAB9 #7878FA #FA78B9
split-complementary
#FAFA78 #78B9FA #B978FA
monochromatic
#EFEF09 #F8F83D #FAFA78 #FCFCB3 #FEFEE1

Accessibility & contrast

On white

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

On black

19.01
#FAFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA78
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA78#FFFFFF#000000##000000
##FAFA781.001.1019.0119.01
#FFFFFF1.101.0021.0021.00
#00000019.0121.001.001.00
##00000019.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16B
Deuteranopia (green-blind)
#FFF67F
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fafa78;
/* rgb */ color: rgb(250, 250, 120);
/* oklch */ color: oklch(96.0% 0.152 109.0);
Tailwind
colors: {
  custom: {
    50: '#fefba2',
    500: '#fafa78',
    950: '#000000',
  },
}
SCSS
$custom: #fafa78;
$custom-light: #fefba2;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa78",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 60,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95988,
    "c": 0.152,
    "h": 109
  },
  "luminance": 0.90051
}

Semantic roles & 50–950 ramp

primary
#FAFA78
secondary
#4040D6
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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