#FBF386#FBF386

#FBF386 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.8% C 0.131 H 104.9°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#FBF386
RGBrgb(251, 243, 134)
HSLhsl(56, 94%, 75%)
HSVhsv(56, 47%, 98%)
CMYKcmyk(0%, 3.2%, 46.6%, 1.6%)
CIE-LABlab(94.45, -11.73, 53.17)
CIE-LCHlch(94.45, 54.45, 102.44°)
OKLaboklab(94.81% -0.0338 0.1269)
OKLCHoklch(94.81% 0.131 104.9)
XYZxyz(76.1391, 86.3338, 35.2029)
Luminance0.8633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF386 #868EFB
analogous
#FBB886 #FBF386 #C9FB86
triadic
#FBF386 #86FBF3 #F386FB
tetradic
#FBF386 #86FBB8 #868EFB #FB86C9
square
#FBF386 #86FBB8 #868EFB #FB86C9
split-complementary
#FBF386 #86C9FB #B886FB
monochromatic
#F7E710 #F9ED4B #FBF386 #FDF9C1 #FEFCE1

Accessibility & contrast

On white

1.15
#FBF386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#FBF386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF386
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF386#FFFFFF#000000##000000
##FBF3861.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7D
Deuteranopia (green-blind)
#FFF28B
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf386;
/* rgb */ color: rgb(251, 243, 134);
/* oklch */ color: oklch(94.8% 0.131 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff6ab',
    500: '#fbf386',
    950: '#000000',
  },
}
SCSS
$custom: #fbf386;
$custom-light: #fff6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf386",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 134
  },
  "hsl": {
    "h": 55.897,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.94812,
    "c": 0.13134,
    "h": 104.9
  },
  "luminance": 0.86332
}

Semantic roles & 50–950 ramp

primary
#FBF386
secondary
#4C55DA
accent
#10E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF386

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

Preview Lab → · Contrast checker → · Palette generator →

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