#FAFA6A#FAFA6A

#FAFA6A is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.8% C 0.164 H 109.1°. Best body text is #000000 at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#FAFA6A
RGBrgb(250, 250, 106)
HSLhsl(60, 94%, 70%)
HSVhsv(60, 58%, 98%)
CMYKcmyk(0%, 0%, 57.6%, 2%)
CIE-LABlab(95.89, -17.76, 67.35)
CIE-LCHlch(95.89, 69.66, 104.77°)
OKLaboklab(95.84% -0.0537 0.1549)
OKLCHoklch(95.84% 0.164 109.1)
XYZxyz(76.2137, 89.7379, 26.9393)
Luminance0.8974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFA6A #6A6AFA
analogous
#FAB26A #FAFA6A #B2FA6A
triadic
#FAFA6A #6AFAFA #FA6AFA
tetradic
#FAFA6A #6AFAB2 #6A6AFA #FA6AB2
square
#FAFA6A #6AFAB2 #6A6AFA #FA6AB2
split-complementary
#FAFA6A #6AB2FA #B26AFA
monochromatic
#E2E208 #F8F82F #FAFA6A #FCFCA5 #FEFEE0

Accessibility & contrast

On white

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

On black

18.95
#FAFA6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFA6A
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFA6A#FFFFFF#000000##000000
##FAFA6A1.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05A
Deuteranopia (green-blind)
#FFF672
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fafa6a;
/* rgb */ color: rgb(250, 250, 106);
/* oklch */ color: oklch(95.8% 0.164 109.1);
Tailwind
colors: {
  custom: {
    50: '#fffb9a',
    500: '#fafa6a',
    950: '#000000',
  },
}
SCSS
$custom: #fafa6a;
$custom-light: #fffb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fafa6a",
  "rgb": {
    "r": 250,
    "g": 250,
    "b": 106
  },
  "hsl": {
    "h": 60,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.95841,
    "c": 0.16394,
    "h": 109.1
  },
  "luminance": 0.89736
}

Semantic roles & 50–950 ramp

primary
#FAFA6A
secondary
#3434D5
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAFA6A

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

Preview Lab → · Contrast checker → · Palette generator →

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