#FFFB86#FFFB86

#FFFB86 is a very light, vivid yellow. Relative luminance 0.920; OKLCH L 96.8% C 0.139 H 107.0°. Best body text is #000000 at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#FFFB86
RGBrgb(255, 251, 134)
HSLhsl(58, 100%, 76%)
HSVhsv(58, 47%, 100%)
CMYKcmyk(0%, 1.6%, 47.5%, 0%)
CIE-LABlab(96.81, -14.09, 56.09)
CIE-LCHlch(96.81, 57.84, 104.10°)
OKLaboklab(96.76% -0.0407 0.1333)
OKLCHoklch(96.76% 0.139 107)
XYZxyz(80.0421, 91.9777, 36.0867)
Luminance0.9198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFB86 #868AFF
analogous
#FFBF86 #FFFB86 #C7FF86
triadic
#FFFB86 #86FFFB #FB86FF
tetradic
#FFFB86 #86FFBF #868AFF #FF86C7
square
#FFFB86 #86FFBF #868AFF #FF86C7
split-complementary
#FFFB86 #86C7FF #BF86FF
monochromatic
#FFF70C #FFF949 #FFFB86 #FFFDC3 #FFFEE0

Accessibility & contrast

On white

1.08
#FFFB86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.40
#FFFB86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFB86
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFB86#FFFFFF#000000##000000
##FFFB861.001.0819.4019.40
#FFFFFF1.081.0021.0021.00
#00000019.4021.001.001.00
##00000019.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF37C
Deuteranopia (green-blind)
#FFF88C
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fffb86;
/* rgb */ color: rgb(255, 251, 134);
/* oklch */ color: oklch(96.8% 0.139 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffcac',
    500: '#fffb86',
    950: '#000000',
  },
}
SCSS
$custom: #fffb86;
$custom-light: #fffcac;
$custom-dark: #000000;
JSON
{
  "hex": "#fffb86",
  "rgb": {
    "r": 255,
    "g": 251,
    "b": 134
  },
  "hsl": {
    "h": 58.017,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.96761,
    "c": 0.13939,
    "h": 107
  },
  "luminance": 0.91976
}

Semantic roles & 50–950 ramp

primary
#FFFB86
secondary
#4A4FDF
accent
#08E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFB86

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

Preview Lab → · Contrast checker → · Palette generator →

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