#FAF866#FAF866

#FAF866 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.4% C 0.165 H 108.4°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#FAF866
RGBrgb(250, 248, 102)
HSLhsl(59, 94%, 69%)
HSVhsv(59, 59%, 98%)
CMYKcmyk(0%, 0.8%, 59.2%, 2%)
CIE-LABlab(95.34, -17.06, 68.42)
CIE-LCHlch(95.34, 70.51, 104.00°)
OKLaboklab(95.39% -0.0522 0.1566)
OKLCHoklch(95.39% 0.165 108.4)
XYZxyz(75.3923, 88.4203, 25.6632)
Luminance0.8842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF866 #6668FA
analogous
#FAAE66 #FAF866 #B2FA66
triadic
#FAF866 #66FAF8 #F866FA
tetradic
#FAF866 #66FAAE #6668FA #FA66B2
square
#FAF866 #66FAAE #6668FA #FA66B2
split-complementary
#FAF866 #66B2FA #AE66FA
monochromatic
#DEDB07 #F8F52B #FAF866 #FCFBA1 #FEFDDD

Accessibility & contrast

On white

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

On black

18.68
#FAF866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF866
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF866#FFFFFF#000000##000000
##FAF8661.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF55
Deuteranopia (green-blind)
#FFF46F
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf866;
/* rgb */ color: rgb(250, 248, 102);
/* oklch */ color: oklch(95.4% 0.165 108.4);
Tailwind
colors: {
  custom: {
    50: '#fffa97',
    500: '#faf866',
    950: '#000000',
  },
}
SCSS
$custom: #faf866;
$custom-light: #fffa97;
$custom-dark: #000000;
JSON
{
  "hex": "#faf866",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 59.189,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.95392,
    "c": 0.1651,
    "h": 108.4
  },
  "luminance": 0.88418
}

Semantic roles & 50–950 ramp

primary
#FAF866
secondary
#3032D4
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAF866

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

Preview Lab → · Contrast checker → · Palette generator →

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