#FBF387#FBF387

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

Color values

HEX#FBF387
RGBrgb(251, 243, 135)
HSLhsl(56, 94%, 76%)
HSVhsv(56, 46%, 98%)
CMYKcmyk(0%, 3.2%, 46.2%, 1.6%)
CIE-LABlab(94.47, -11.64, 52.71)
CIE-LCHlch(94.47, 53.98, 102.45°)
OKLaboklab(94.83% -0.0334 0.126)
OKLCHoklch(94.83% 0.13 104.9)
XYZxyz(76.2092, 86.3618, 35.5720)
Luminance0.8636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF387 #878FFB
analogous
#FBB987 #FBF387 #C9FB87
triadic
#FBF387 #87FBF3 #F387FB
tetradic
#FBF387 #87FBB9 #878FFB #FB87C9
square
#FBF387 #87FBB9 #878FFB #FB87C9
split-complementary
#FBF387 #87C9FB #B987FB
monochromatic
#F7E711 #F9ED4C #FBF387 #FDF9C2 #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF387#FFFFFF#000000##000000
##FBF3871.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)
#FFEC7E
Deuteranopia (green-blind)
#FFF28C
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf387;
/* rgb */ color: rgb(251, 243, 135);
/* oklch */ color: oklch(94.8% 0.130 104.9);
Tailwind
colors: {
  custom: {
    50: '#fef6ac',
    500: '#fbf387',
    950: '#000000',
  },
}
SCSS
$custom: #fbf387;
$custom-light: #fef6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf387",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 135
  },
  "hsl": {
    "h": 55.862,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94825,
    "c": 0.13034,
    "h": 104.9
  },
  "luminance": 0.8636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF387

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

Preview Lab → · Contrast checker → · Palette generator →

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