#FFF86A#FFF86A

#FFF86A is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.8% C 0.161 H 106.4°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#FFF86A
RGBrgb(255, 248, 106)
HSLhsl(57, 100%, 71%)
HSVhsv(57, 58%, 100%)
CMYKcmyk(0%, 2.7%, 58.4%, 0%)
CIE-LABlab(95.76, -14.80, 67.33)
CIE-LCHlch(95.76, 68.93, 102.40°)
OKLaboklab(95.84% -0.0456 0.1547)
OKLCHoklch(95.84% 0.161 106.4)
XYZxyz(77.4114, 89.4379, 26.8184)
Luminance0.8943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF86A #6A71FF
analogous
#FFAD6A #FFF86A #BBFF6A
triadic
#FFF86A #6AFFF8 #F86AFF
tetradic
#FFF86A #6AFFAD #6A71FF #FF6ABB
square
#FFF86A #6AFFAD #6A71FF #FF6ABB
split-complementary
#FFF86A #6ABBFF #AD6AFF
monochromatic
#EFE300 #FFF52D #FFF86A #FFFBA7 #FFFEE0

Accessibility & contrast

On white

1.11
#FFF86A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.89
#FFF86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF86A
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF86A#FFFFFF#000000##000000
##FFF86A1.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5A
Deuteranopia (green-blind)
#FFF672
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff86a;
/* rgb */ color: rgb(255, 248, 106);
/* oklch */ color: oklch(95.8% 0.161 106.4);
Tailwind
colors: {
  custom: {
    50: '#fffa9a',
    500: '#fff86a',
    950: '#000000',
  },
}
SCSS
$custom: #fff86a;
$custom-light: #fffa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fff86a",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 106
  },
  "hsl": {
    "h": 57.181,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95837,
    "c": 0.16131,
    "h": 106.4
  },
  "luminance": 0.89435
}

Semantic roles & 50–950 ramp

primary
#FFF86A
secondary
#323ADB
accent
#0BE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FFF86A

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

Preview Lab → · Contrast checker → · Palette generator →

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