#FAF96A#FAF96A

#FAF96A is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.6% C 0.163 H 108.7°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#FAF96A
RGBrgb(250, 249, 106)
HSLhsl(60, 94%, 70%)
HSVhsv(60, 58%, 98%)
CMYKcmyk(0%, 0.4%, 57.6%, 2%)
CIE-LABlab(95.63, -17.28, 67.07)
CIE-LCHlch(95.63, 69.26, 104.44°)
OKLaboklab(95.64% -0.0524 0.1543)
OKLCHoklch(95.64% 0.163 108.7)
XYZxyz(75.9038, 89.1180, 26.8360)
Luminance0.8912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF96A #6A6BFA
analogous
#FAB16A #FAF96A #B3FA6A
triadic
#FAF96A #6AFAF9 #F96AFA
tetradic
#FAF96A #6AFAB1 #6A6BFA #FA6AB3
square
#FAF96A #6AFAB1 #6A6BFA #FA6AB3
split-complementary
#FAF96A #6AB3FA #B16AFA
monochromatic
#E2E008 #F8F72F #FAF96A #FCFBA5 #FEFEE0

Accessibility & contrast

On white

1.12
#FAF96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.82
#FAF96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF96A
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF96A#FFFFFF#000000##000000
##FAF96A1.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05A
Deuteranopia (green-blind)
#FFF572
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf96a;
/* rgb */ color: rgb(250, 249, 106);
/* oklch */ color: oklch(95.6% 0.163 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffb9a',
    500: '#faf96a',
    950: '#000000',
  },
}
SCSS
$custom: #faf96a;
$custom-light: #fffb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#faf96a",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 106
  },
  "hsl": {
    "h": 59.583,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.95635,
    "c": 0.16292,
    "h": 108.7
  },
  "luminance": 0.89116
}

Semantic roles & 50–950 ramp

primary
#FAF96A
secondary
#3435D5
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF96A

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

Preview Lab → · Contrast checker → · Palette generator →

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