#FAFA59#FAFA59

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

Color values

HEX#FAFA59
RGBrgb(250, 250, 89)
HSLhsl(60, 94%, 66%)
HSVhsv(60, 64%, 98%)
CMYKcmyk(0%, 0%, 64.4%, 2%)
CIE-LABlab(95.76, -18.81, 74.03)
CIE-LCHlch(95.76, 76.38, 104.26°)
OKLaboklab(95.69% -0.0584 0.1667)
OKLCHoklch(95.69% 0.177 109.3)
XYZxyz(75.4156, 89.4186, 22.7361)
Luminance0.8942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA59 #5959FA
analogous
#FAAA59 #FAFA59 #AAFA59
triadic
#FAFA59 #59FAFA #FA59FA
tetradic
#FAFA59 #59FAAA #5959FA #FA59AA
square
#FAFA59 #59FAAA #5959FA #FA59AA
split-complementary
#FAFA59 #59AAFA #AA59FA
monochromatic
#D2D206 #F8F81E #FAFA59 #FCFC94 #FEFED0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAFA59#FFFFFF#000000##000000
##FAFA591.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)
#FFF043
Deuteranopia (green-blind)
#FFF564
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fafa59;
/* rgb */ color: rgb(250, 250, 89);
/* oklch */ color: oklch(95.7% 0.177 109.3);
Tailwind
colors: {
  custom: {
    50: '#fffb90',
    500: '#fafa59',
    950: '#000000',
  },
}
SCSS
$custom: #fafa59;
$custom-light: #fffb90;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa59",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.95693,
    "c": 0.17662,
    "h": 109.3
  },
  "luminance": 0.89416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAFA59

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

Preview Lab → · Contrast checker → · Palette generator →

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