#FAF86F#FAF86F

#FAF86F is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.5% C 0.158 H 108.3°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#FAF86F
RGBrgb(250, 248, 111)
HSLhsl(59, 93%, 71%)
HSVhsv(59, 56%, 98%)
CMYKcmyk(0%, 0.8%, 55.6%, 2%)
CIE-LABlab(95.42, -16.44, 64.70)
CIE-LCHlch(95.42, 66.75, 104.26°)
OKLaboklab(95.48% -0.0495 0.1498)
OKLCHoklch(95.48% 0.158 108.3)
XYZxyz(75.8631, 88.6086, 28.1428)
Luminance0.8861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF86F #6F71FA
analogous
#FAB26F #FAF86F #B6FA6F
triadic
#FAF86F #6FFAF8 #F86FFA
tetradic
#FAF86F #6FFAB2 #6F71FA #FA6FB6
square
#FAF86F #6FFAB2 #6F71FA #FA6FB6
split-complementary
#FAF86F #6FB6FA #B26FFA
monochromatic
#E7E308 #F8F534 #FAF86F #FCFBAA #FEFEE1

Accessibility & contrast

On white

1.12
#FAF86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.72
#FAF86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF86F
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF86F#FFFFFF#000000##000000
##FAF86F1.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF61
Deuteranopia (green-blind)
#FFF477
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf86f;
/* rgb */ color: rgb(250, 248, 111);
/* oklch */ color: oklch(95.5% 0.158 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffa9d',
    500: '#faf86f',
    950: '#000000',
  },
}
SCSS
$custom: #faf86f;
$custom-light: #fffa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#faf86f",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 111
  },
  "hsl": {
    "h": 59.137,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9548,
    "c": 0.15778,
    "h": 108.3
  },
  "luminance": 0.88606
}

Semantic roles & 50–950 ramp

primary
#FAF86F
secondary
#383AD5
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FAF86F

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

Preview Lab → · Contrast checker → · Palette generator →

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