#FAF86E#FAF86E

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

Color values

HEX#FAF86E
RGBrgb(250, 248, 110)
HSLhsl(59, 93%, 71%)
HSVhsv(59, 56%, 98%)
CMYKcmyk(0%, 0.8%, 56%, 2%)
CIE-LABlab(95.41, -16.51, 65.12)
CIE-LCHlch(95.41, 67.18, 104.23°)
OKLaboklab(95.47% -0.0498 0.1506)
OKLCHoklch(95.47% 0.159 108.3)
XYZxyz(75.8084, 88.5867, 27.8544)
Luminance0.8859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF86E #6E70FA
analogous
#FAB26E #FAF86E #B6FA6E
triadic
#FAF86E #6EFAF8 #F86EFA
tetradic
#FAF86E #6EFAB2 #6E70FA #FA6EB6
square
#FAF86E #6EFAB2 #6E70FA #FA6EB6
split-complementary
#FAF86E #6EB6FA #B26EFA
monochromatic
#E6E308 #F8F533 #FAF86E #FCFBA9 #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAF86E#FFFFFF#000000##000000
##FAF86E1.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)
#FFEF5F
Deuteranopia (green-blind)
#FFF476
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf86e;
/* rgb */ color: rgb(250, 248, 110);
/* oklch */ color: oklch(95.5% 0.159 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffa9c',
    500: '#faf86e',
    950: '#000000',
  },
}
SCSS
$custom: #faf86e;
$custom-light: #fffa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#faf86e",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 110
  },
  "hsl": {
    "h": 59.143,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9547,
    "c": 0.15861,
    "h": 108.3
  },
  "luminance": 0.88585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FAF86E

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

Preview Lab → · Contrast checker → · Palette generator →

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