#FFF86B#FFF86B

#FFF86B is a very light, vivid yellow. Relative luminance 0.895; 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#FFF86B
RGBrgb(255, 248, 107)
HSLhsl(57, 100%, 71%)
HSVhsv(57, 58%, 100%)
CMYKcmyk(0%, 2.7%, 58%, 0%)
CIE-LABlab(95.77, -14.73, 66.91)
CIE-LCHlch(95.77, 68.52, 102.42°)
OKLaboklab(95.85% -0.0453 0.154)
OKLCHoklch(95.85% 0.161 106.4)
XYZxyz(77.4637, 89.4588, 27.0938)
Luminance0.8946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF86B #6B72FF
analogous
#FFAE6B #FFF86B #BCFF6B
triadic
#FFF86B #6BFFF8 #F86BFF
tetradic
#FFF86B #6BFFAE #6B72FF #FF6BBC
square
#FFF86B #6BFFAE #6B72FF #FF6BBC
split-complementary
#FFF86B #6BBCFF #AE6BFF
monochromatic
#F0E400 #FFF52E #FFF86B #FFFBA8 #FFFEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFF86B#FFFFFF#000000##000000
##FFF86B1.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)
#FFEF5B
Deuteranopia (green-blind)
#FFF673
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff86b;
/* rgb */ color: rgb(255, 248, 107);
/* oklch */ color: oklch(95.8% 0.161 106.4);
Tailwind
colors: {
  custom: {
    50: '#fffa9a',
    500: '#fff86b',
    950: '#000000',
  },
}
SCSS
$custom: #fff86b;
$custom-light: #fffa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#fff86b",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 107
  },
  "hsl": {
    "h": 57.162,
    "s": 100,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95846,
    "c": 0.1605,
    "h": 106.4
  },
  "luminance": 0.89456
}

Semantic roles & 50–950 ramp

primary
#FFF86B
secondary
#333BDB
accent
#0BE600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FFF86B

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

Preview Lab → · Contrast checker → · Palette generator →

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