#FAFA64#FAFA64

#FAFA64 is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.8% C 0.169 H 109.2°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#FAFA64
RGBrgb(250, 250, 100)
HSLhsl(60, 94%, 69%)
HSVhsv(60, 60%, 98%)
CMYKcmyk(0%, 0%, 60%, 2%)
CIE-LABlab(95.84, -18.16, 69.78)
CIE-LCHlch(95.84, 72.10, 104.58°)
OKLaboklab(95.79% -0.0555 0.1593)
OKLCHoklch(95.79% 0.169 109.2)
XYZxyz(75.9125, 89.6174, 25.3532)
Luminance0.8962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA64 #6464FA
analogous
#FAAF64 #FAFA64 #AFFA64
triadic
#FAFA64 #64FAFA #FA64FA
tetradic
#FAFA64 #64FAAF #6464FA #FA64AF
square
#FAFA64 #64FAAF #6464FA #FA64AF
split-complementary
#FAFA64 #64AFFA #AF64FA
monochromatic
#DCDC07 #F8F829 #FAFA64 #FCFC9F #FEFEDB

Accessibility & contrast

On white

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

On black

18.92
#FAFA64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA64
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA64#FFFFFF#000000##000000
##FAFA641.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF052
Deuteranopia (green-blind)
#FFF56D
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fafa64;
/* rgb */ color: rgb(250, 250, 100);
/* oklch */ color: oklch(95.8% 0.169 109.2);
Tailwind
colors: {
  custom: {
    50: '#fffb96',
    500: '#fafa64',
    950: '#000000',
  },
}
SCSS
$custom: #fafa64;
$custom-light: #fffb96;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa64",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 100
  },
  "hsl": {
    "h": 60,
    "s": 93.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.95785,
    "c": 0.16865,
    "h": 109.2
  },
  "luminance": 0.89615
}

Semantic roles & 50–950 ramp

primary
#FAFA64
secondary
#2E2ED4
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAFA64

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

Preview Lab → · Contrast checker → · Palette generator →

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