#FBF08B#FBF08B

#FBF08B is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.3% C 0.123 H 103.0°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#FBF08B
RGBrgb(251, 240, 139)
HSLhsl(54, 93%, 76%)
HSVhsv(54, 45%, 98%)
CMYKcmyk(0%, 4.4%, 44.6%, 1.6%)
CIE-LABlab(93.75, -9.79, 49.93)
CIE-LCHlch(93.75, 50.88, 101.09°)
OKLaboklab(94.27% -0.0277 0.1201)
OKLCHoklch(94.27% 0.123 103)
XYZxyz(75.6057, 84.6957, 36.7863)
Luminance0.8469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF08B #8B96FB
analogous
#FBB88B #FBF08B #CEFB8B
triadic
#FBF08B #8BFBF0 #F08BFB
tetradic
#FBF08B #8BFBB8 #8B96FB #FB8BCE
square
#FBF08B #8BFBB8 #8B96FB #FB8BCE
split-complementary
#FBF08B #8BCEFB #B88BFB
monochromatic
#F7E115 #F9E850 #FBF08B #FDF8C6 #FEFBE1

Accessibility & contrast

On white

1.17
#FBF08B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.94
#FBF08B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF08B
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF08B#FFFFFF#000000##000000
##FBF08B1.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA83
Deuteranopia (green-blind)
#FFF08F
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf08b;
/* rgb */ color: rgb(251, 240, 139);
/* oklch */ color: oklch(94.3% 0.123 103.0);
Tailwind
colors: {
  custom: {
    50: '#fef4ae',
    500: '#fbf08b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf08b;
$custom-light: #fef4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf08b",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 139
  },
  "hsl": {
    "h": 54.107,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94274,
    "c": 0.12323,
    "h": 103
  },
  "luminance": 0.84693
}

Semantic roles & 50–950 ramp

primary
#FBF08B
secondary
#505EDA
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF08B

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

Preview Lab → · Contrast checker → · Palette generator →

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