#FAF976#FAF976

#FAF976 is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.8% C 0.153 H 108.6°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#FAF976
RGBrgb(250, 249, 118)
HSLhsl(60, 93%, 72%)
HSVhsv(60, 53%, 98%)
CMYKcmyk(0%, 0.4%, 52.8%, 2%)
CIE-LABlab(95.74, -16.40, 62.00)
CIE-LCHlch(95.74, 64.14, 104.82°)
OKLaboklab(95.76% -0.0486 0.1448)
OKLCHoklch(95.76% 0.153 108.6)
XYZxyz(76.5720, 89.3854, 30.3555)
Luminance0.8938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF976 #7677FA
analogous
#FAB776 #FAF976 #B9FA76
triadic
#FAF976 #76FAF9 #F976FA
tetradic
#FAF976 #76FAB7 #7677FA #FA76B9
square
#FAF976 #76FAB7 #7677FA #FA76B9
split-complementary
#FAF976 #76B9FA #B776FA
monochromatic
#EDEB09 #F8F63B #FAF976 #FCFCB1 #FEFEE1

Accessibility & contrast

On white

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

On black

18.88
#FAF976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF976
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF976#FFFFFF#000000##000000
##FAF9761.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF069
Deuteranopia (green-blind)
#FFF57D
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #faf976;
/* rgb */ color: rgb(250, 249, 118);
/* oklch */ color: oklch(95.8% 0.153 108.6);
Tailwind
colors: {
  custom: {
    50: '#fefba1',
    500: '#faf976',
    950: '#000000',
  },
}
SCSS
$custom: #faf976;
$custom-light: #fefba1;
$custom-dark: #000000;
JSON
{
  "hex": "#faf976",
  "rgb": {
    "r": 250,
    "g": 249,
    "b": 118
  },
  "hsl": {
    "h": 59.545,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9576,
    "c": 0.15274,
    "h": 108.6
  },
  "luminance": 0.89383
}

Semantic roles & 50–950 ramp

primary
#FAF976
secondary
#3E3FD6
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF976

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

Preview Lab → · Contrast checker → · Palette generator →

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