#FAF76C#FAF76C

#FAF76C is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.159 H 107.9°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#FAF76C
RGBrgb(250, 247, 108)
HSLhsl(59, 93%, 70%)
HSVhsv(59, 57%, 98%)
CMYKcmyk(0%, 1.2%, 56.8%, 2%)
CIE-LABlab(95.13, -16.17, 65.67)
CIE-LCHlch(95.13, 67.63, 103.83°)
OKLaboklab(95.24% -0.049 0.1515)
OKLCHoklch(95.24% 0.159 107.9)
XYZxyz(75.3941, 87.9304, 27.1852)
Luminance0.8793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF76C #6C6FFA
analogous
#FAB06C #FAF76C #B6FA6C
triadic
#FAF76C #6CFAF7 #F76CFA
tetradic
#FAF76C #6CFAB0 #6C6FFA #FA6CB6
square
#FAF76C #6CFAB0 #6C6FFA #FA6CB6
split-complementary
#FAF76C #6CB6FA #B06CFA
monochromatic
#E4DF08 #F8F431 #FAF76C #FCFAA7 #FEFDE1

Accessibility & contrast

On white

1.13
#FAF76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#FAF76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF76C
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF76C#FFFFFF#000000##000000
##FAF76C1.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5D
Deuteranopia (green-blind)
#FFF374
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf76c;
/* rgb */ color: rgb(250, 247, 108);
/* oklch */ color: oklch(95.2% 0.159 107.9);
Tailwind
colors: {
  custom: {
    50: '#fff99b',
    500: '#faf76c',
    950: '#000000',
  },
}
SCSS
$custom: #faf76c;
$custom-light: #fff99b;
$custom-dark: #000000;
JSON
{
  "hex": "#faf76c",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 108
  },
  "hsl": {
    "h": 58.732,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95244,
    "c": 0.15927,
    "h": 107.9
  },
  "luminance": 0.87928
}

Semantic roles & 50–950 ramp

primary
#FAF76C
secondary
#3539D5
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF76C

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

Preview Lab → · Contrast checker → · Palette generator →

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