#FAF86C#FAF86C

#FAF86C is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.4% C 0.160 H 108.3°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#FAF86C
RGBrgb(250, 248, 108)
HSLhsl(59, 93%, 70%)
HSVhsv(59, 57%, 98%)
CMYKcmyk(0%, 0.8%, 56.8%, 2%)
CIE-LABlab(95.39, -16.65, 65.96)
CIE-LCHlch(95.39, 68.03, 104.17°)
OKLaboklab(95.45% -0.0504 0.1522)
OKLCHoklch(95.45% 0.16 108.3)
XYZxyz(75.7007, 88.5436, 27.2874)
Luminance0.8854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF86C #6C6EFA
analogous
#FAB16C #FAF86C #B5FA6C
triadic
#FAF86C #6CFAF8 #F86CFA
tetradic
#FAF86C #6CFAB1 #6C6EFA #FA6CB5
square
#FAF86C #6CFAB1 #6C6EFA #FA6CB5
split-complementary
#FAF86C #6CB5FA #B16CFA
monochromatic
#E4E108 #F8F531 #FAF86C #FCFBA7 #FEFEE1

Accessibility & contrast

On white

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

On black

18.71
#FAF86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF86C
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF86C#FFFFFF#000000##000000
##FAF86C1.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #faf86c;
/* rgb */ color: rgb(250, 248, 108);
/* oklch */ color: oklch(95.4% 0.160 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffa9b',
    500: '#faf86c',
    950: '#000000',
  },
}
SCSS
$custom: #faf86c;
$custom-light: #fffa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#faf86c",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 59.155,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95449,
    "c": 0.16028,
    "h": 108.3
  },
  "luminance": 0.88542
}

Semantic roles & 50–950 ramp

primary
#FAF86C
secondary
#3538D5
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF86C

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

Preview Lab → · Contrast checker → · Palette generator →

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