#FBF08A#FBF08A

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

Color values

HEX#FBF08A
RGBrgb(251, 240, 138)
HSLhsl(54, 93%, 76%)
HSVhsv(54, 45%, 98%)
CMYKcmyk(0%, 4.4%, 45%, 1.6%)
CIE-LABlab(93.74, -9.88, 50.39)
CIE-LCHlch(93.74, 51.35, 101.10°)
OKLaboklab(94.26% -0.0281 0.121)
OKLCHoklch(94.26% 0.124 103.1)
XYZxyz(75.5330, 84.6666, 36.4033)
Luminance0.8466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF08A #8A95FB
analogous
#FBB88A #FBF08A #CEFB8A
triadic
#FBF08A #8AFBF0 #F08AFB
tetradic
#FBF08A #8AFBB8 #8A95FB #FB8ACE
square
#FBF08A #8AFBB8 #8A95FB #FB8ACE
split-complementary
#FBF08A #8ACEFB #B88AFB
monochromatic
#F7E114 #F9E84F #FBF08A #FDF8C5 #FEFBE1

Accessibility & contrast

On white

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

On black

17.93
#FBF08A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF08A
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF08A#FFFFFF#000000##000000
##FBF08A1.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf08a;
/* rgb */ color: rgb(251, 240, 138);
/* oklch */ color: oklch(94.3% 0.124 103.1);
Tailwind
colors: {
  custom: {
    50: '#fef4ae',
    500: '#fbf08a',
    950: '#000000',
  },
}
SCSS
$custom: #fbf08a;
$custom-light: #fef4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf08a",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 138
  },
  "hsl": {
    "h": 54.159,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.9426,
    "c": 0.12426,
    "h": 103.1
  },
  "luminance": 0.84664
}

Semantic roles & 50–950 ramp

primary
#FBF08A
secondary
#4F5DDA
accent
#16E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF08A

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

Preview Lab → · Contrast checker → · Palette generator →

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