#FAF96D#FAF96D

#FAF96D is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.7% C 0.160 H 108.7°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#FAF96D
RGBrgb(250, 249, 109)
HSLhsl(60, 93%, 70%)
HSVhsv(60, 56%, 98%)
CMYKcmyk(0%, 0.4%, 56.4%, 2%)
CIE-LABlab(95.66, -17.07, 65.83)
CIE-LCHlch(95.66, 68.00, 104.54°)
OKLaboklab(95.67% -0.0515 0.152)
OKLCHoklch(95.67% 0.16 108.7)
XYZxyz(76.0625, 89.1815, 27.6720)
Luminance0.8918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF96D #6D6EFA
analogous
#FAB26D #FAF96D #B5FA6D
triadic
#FAF96D #6DFAF9 #F96DFA
tetradic
#FAF96D #6DFAB2 #6D6EFA #FA6DB5
square
#FAF96D #6DFAB2 #6D6EFA #FA6DB5
split-complementary
#FAF96D #6DB5FA #B26DFA
monochromatic
#E5E308 #F8F732 #FAF96D #FCFBA8 #FEFEE1

Accessibility & contrast

On white

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

On black

18.84
#FAF96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF96D
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF96D#FFFFFF#000000##000000
##FAF96D1.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05E
Deuteranopia (green-blind)
#FFF575
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf96d;
/* rgb */ color: rgb(250, 249, 109);
/* oklch */ color: oklch(95.7% 0.160 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffb9b',
    500: '#faf96d',
    950: '#000000',
  },
}
SCSS
$custom: #faf96d;
$custom-light: #fffb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#faf96d",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 109
  },
  "hsl": {
    "h": 59.574,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95665,
    "c": 0.16047,
    "h": 108.7
  },
  "luminance": 0.89179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF96D

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

Preview Lab → · Contrast checker → · Palette generator →

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