#FAF76F#FAF76F

#FAF76F is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.3% C 0.157 H 107.9°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#FAF76F
RGBrgb(250, 247, 111)
HSLhsl(59, 93%, 71%)
HSVhsv(59, 56%, 98%)
CMYKcmyk(0%, 1.2%, 55.6%, 2%)
CIE-LABlab(95.16, -15.96, 64.41)
CIE-LCHlch(95.16, 66.36, 103.91°)
OKLaboklab(95.28% -0.0481 0.1492)
OKLCHoklch(95.28% 0.157 107.9)
XYZxyz(75.5565, 87.9953, 28.0406)
Luminance0.8799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF76F #6F72FA
analogous
#FAB16F #FAF76F #B7FA6F
triadic
#FAF76F #6FFAF7 #F76FFA
tetradic
#FAF76F #6FFAB1 #6F72FA #FA6FB7
square
#FAF76F #6FFAB1 #6F72FA #FA6FB7
split-complementary
#FAF76F #6FB7FA #B16FFA
monochromatic
#E7E208 #F8F434 #FAF76F #FCFAAA #FEFDE1

Accessibility & contrast

On white

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

On black

18.60
#FAF76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF76F
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF76F#FFFFFF#000000##000000
##FAF76F1.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf76f;
/* rgb */ color: rgb(250, 247, 111);
/* oklch */ color: oklch(95.3% 0.157 107.9);
Tailwind
colors: {
  custom: {
    50: '#fff99d',
    500: '#faf76f',
    950: '#000000',
  },
}
SCSS
$custom: #faf76f;
$custom-light: #fff99d;
$custom-dark: #000000;
JSON
{
  "hex": "#faf76f",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 111
  },
  "hsl": {
    "h": 58.705,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95275,
    "c": 0.15676,
    "h": 107.9
  },
  "luminance": 0.87993
}

Semantic roles & 50–950 ramp

primary
#FAF76F
secondary
#383BD5
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF76F

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

Preview Lab → · Contrast checker → · Palette generator →

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