#FAF96F#FAF96F

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

Color values

HEX#FAF96F
RGBrgb(250, 249, 111)
HSLhsl(60, 93%, 71%)
HSVhsv(60, 56%, 98%)
CMYKcmyk(0%, 0.4%, 55.6%, 2%)
CIE-LABlab(95.67, -16.92, 64.99)
CIE-LCHlch(95.67, 67.16, 104.60°)
OKLaboklab(95.69% -0.0508 0.1504)
OKLCHoklch(95.69% 0.159 108.7)
XYZxyz(76.1714, 89.2251, 28.2455)
Luminance0.8922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF96F #6F70FA
analogous
#FAB36F #FAF96F #B6FA6F
triadic
#FAF96F #6FFAF9 #F96FFA
tetradic
#FAF96F #6FFAB3 #6F70FA #FA6FB6
square
#FAF96F #6FFAB3 #6F70FA #FA6FB6
split-complementary
#FAF96F #6FB6FA #B36FFA
monochromatic
#E7E508 #F8F734 #FAF96F #FCFBAA #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF96F#FFFFFF#000000##000000
##FAF96F1.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)
#FFF060
Deuteranopia (green-blind)
#FFF577
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #faf96f;
/* rgb */ color: rgb(250, 249, 111);
/* oklch */ color: oklch(95.7% 0.159 108.7);
Tailwind
colors: {
  custom: {
    50: '#fffb9d',
    500: '#faf96f',
    950: '#000000',
  },
}
SCSS
$custom: #faf96f;
$custom-light: #fffb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#faf96f",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 111
  },
  "hsl": {
    "h": 59.568,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95685,
    "c": 0.15879,
    "h": 108.7
  },
  "luminance": 0.89223
}

Semantic roles & 50–950 ramp

primary
#FAF96F
secondary
#3839D5
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF96F

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

Preview Lab → · Contrast checker → · Palette generator →

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