#FAFB60#FAFB60

#FAFB60 is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.0% C 0.173 H 109.6°. Best body text is #000000 at 19.03:1 contrast (WCAG AA passes).

Color values

HEX#FAFB60
RGBrgb(250, 251, 96)
HSLhsl(60, 95%, 68%)
HSVhsv(60, 62%, 98%)
CMYKcmyk(0.4%, 0%, 61.8%, 1.6%)
CIE-LABlab(96.07, -18.89, 71.63)
CIE-LCHlch(96.07, 74.08, 104.77°)
OKLaboklab(95.96% -0.0579 0.1626)
OKLCHoklch(95.96% 0.173 109.6)
XYZxyz(76.0352, 90.1649, 24.4623)
Luminance0.9016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFB60 #6160FB
analogous
#FBAE60 #FAFB60 #ACFB60
triadic
#FAFB60 #60FAFB #FB60FA
tetradic
#FAFB60 #60FBAE #6160FB #FB60AC
square
#FAFB60 #60FBAE #6160FB #FB60AC
split-complementary
#FAFB60 #60ACFB #AE60FB
monochromatic
#DADB06 #F8F924 #FAFB60 #FCFD9C #FEFED7

Accessibility & contrast

On white

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

On black

19.03
#FAFB60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFB60
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFB60#FFFFFF#000000##000000
##FAFB601.001.1019.0319.03
#FFFFFF1.101.0021.0021.00
#00000019.0321.001.001.00
##00000019.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF14C
Deuteranopia (green-blind)
#FFF66A
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fafb60;
/* rgb */ color: rgb(250, 251, 96);
/* oklch */ color: oklch(96.0% 0.173 109.6);
Tailwind
colors: {
  custom: {
    50: '#fffc94',
    500: '#fafb60',
    950: '#000000',
  },
}
SCSS
$custom: #fafb60;
$custom-light: #fffc94;
$custom-dark: #000000;
JSON
{
  "hex": "#fafb60",
  "rgb": {
    "r": 250,
    "g": 251,
    "b": 96
  },
  "hsl": {
    "h": 60.387,
    "s": 95.092,
    "l": 68.039
  },
  "oklch": {
    "l": 0.95957,
    "c": 0.17264,
    "h": 109.6
  },
  "luminance": 0.90163
}

Semantic roles & 50–950 ramp

primary
#FAFB60
secondary
#2C2BD4
accent
#00E601
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAFB60

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

Preview Lab → · Contrast checker → · Palette generator →

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