#FBF186#FBF186

#FBF186 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.4% C 0.129 H 103.8°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#FBF186
RGBrgb(251, 241, 134)
HSLhsl(55, 94%, 75%)
HSVhsv(55, 47%, 98%)
CMYKcmyk(0%, 4%, 46.6%, 1.6%)
CIE-LABlab(93.94, -10.75, 52.55)
CIE-LCHlch(93.94, 53.64, 101.56°)
OKLaboklab(94.41% -0.0309 0.1256)
OKLCHoklch(94.41% 0.129 103.8)
XYZxyz(75.5439, 85.1433, 35.0045)
Luminance0.8514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF186 #8690FB
analogous
#FBB686 #FBF186 #CAFB86
triadic
#FBF186 #86FBF1 #F186FB
tetradic
#FBF186 #86FBB6 #8690FB #FB86CA
square
#FBF186 #86FBB6 #8690FB #FB86CA
split-complementary
#FBF186 #86CAFB #B686FB
monochromatic
#F7E310 #F9EA4B #FBF186 #FDF8C1 #FEFCE1

Accessibility & contrast

On white

1.16
#FBF186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.03
#FBF186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF186
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF186#FFFFFF#000000##000000
##FBF1861.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7D
Deuteranopia (green-blind)
#FFF08B
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf186;
/* rgb */ color: rgb(251, 241, 134);
/* oklch */ color: oklch(94.4% 0.129 103.8);
Tailwind
colors: {
  custom: {
    50: '#fff5ab',
    500: '#fbf186',
    950: '#000000',
  },
}
SCSS
$custom: #fbf186;
$custom-light: #fff5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf186",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 134
  },
  "hsl": {
    "h": 54.872,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.94407,
    "c": 0.12931,
    "h": 103.8
  },
  "luminance": 0.85141
}

Semantic roles & 50–950 ramp

primary
#FBF186
secondary
#4C58DA
accent
#14E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF186

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

Preview Lab → · Contrast checker → · Palette generator →

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