#FAFA55#FAFA55

#FAFA55 is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.7% C 0.179 H 109.4°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#FAFA55
RGBrgb(250, 250, 85)
HSLhsl(60, 94%, 66%)
HSVhsv(60, 66%, 98%)
CMYKcmyk(0%, 0%, 66%, 2%)
CIE-LABlab(95.73, -19.03, 75.50)
CIE-LCHlch(95.73, 77.86, 104.15°)
OKLaboklab(95.66% -0.0594 0.1692)
OKLCHoklch(95.66% 0.179 109.4)
XYZxyz(75.2522, 89.3533, 21.8754)
Luminance0.8935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA55 #5555FA
analogous
#FAA755 #FAFA55 #A7FA55
triadic
#FAFA55 #55FAFA #FA55FA
tetradic
#FAFA55 #55FAA7 #5555FA #FA55A7
square
#FAFA55 #55FAA7 #5555FA #FA55A7
split-complementary
#FAFA55 #55A7FA #A755FA
monochromatic
#CFCF06 #F8F81A #FAFA55 #FCFC90 #FDFDCC

Accessibility & contrast

On white

1.11
#FAFA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.87
#FAFA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA55
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA55#FFFFFF#000000##000000
##FAFA551.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF03C
Deuteranopia (green-blind)
#FFF560
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fafa55;
/* rgb */ color: rgb(250, 250, 85);
/* oklch */ color: oklch(95.7% 0.179 109.4);
Tailwind
colors: {
  custom: {
    50: '#fffb8d',
    500: '#fafa55',
    950: '#000000',
  },
}
SCSS
$custom: #fafa55;
$custom-light: #fffb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa55",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 94.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.95662,
    "c": 0.1793,
    "h": 109.4
  },
  "luminance": 0.89351
}

Semantic roles & 50–950 ramp

primary
#FAFA55
secondary
#2929CA
accent
#00E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAFA55

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

Preview Lab → · Contrast checker → · Palette generator →

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