#FAFA57#FAFA57

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

Color values

HEX#FAFA57
RGBrgb(250, 250, 87)
HSLhsl(60, 94%, 66%)
HSVhsv(60, 65%, 98%)
CMYKcmyk(0%, 0%, 65.2%, 2%)
CIE-LABlab(95.74, -18.92, 74.77)
CIE-LCHlch(95.74, 77.12, 104.20°)
OKLaboklab(95.68% -0.0589 0.1679)
OKLCHoklch(95.68% 0.178 109.3)
XYZxyz(75.3328, 89.3855, 22.2998)
Luminance0.8938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA57 #5757FA
analogous
#FAA857 #FAFA57 #A8FA57
triadic
#FAFA57 #57FAFA #FA57FA
tetradic
#FAFA57 #57FAA8 #5757FA #FA57A8
square
#FAFA57 #57FAA8 #5757FA #FA57A8
split-complementary
#FAFA57 #57A8FA #A857FA
monochromatic
#D0D006 #F8F81C #FAFA57 #FCFC92 #FEFECE

Accessibility & contrast

On white

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

On black

18.88
#FAFA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA57
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA57#FFFFFF#000000##000000
##FAFA571.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fafa57;
/* rgb */ color: rgb(250, 250, 87);
/* oklch */ color: oklch(95.7% 0.178 109.3);
Tailwind
colors: {
  custom: {
    50: '#fffb8f',
    500: '#fafa57',
    950: '#000000',
  },
}
SCSS
$custom: #fafa57;
$custom-light: #fffb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa57",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.95677,
    "c": 0.17797,
    "h": 109.3
  },
  "luminance": 0.89383
}

Semantic roles & 50–950 ramp

primary
#FAFA57
secondary
#2A2ACB
accent
#00E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #FAFA57

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

Preview Lab → · Contrast checker → · Palette generator →

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