#FBF18B#FBF18B

#FBF18B is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.5% C 0.124 H 103.6°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#FBF18B
RGBrgb(251, 241, 139)
HSLhsl(55, 93%, 76%)
HSVhsv(55, 45%, 98%)
CMYKcmyk(0%, 4%, 44.6%, 1.6%)
CIE-LABlab(94.01, -10.28, 50.25)
CIE-LCHlch(94.01, 51.29, 101.57°)
OKLaboklab(94.48% -0.0291 0.1208)
OKLCHoklch(94.48% 0.124 103.6)
XYZxyz(75.9009, 85.2861, 36.8847)
Luminance0.8528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF18B #8B95FB
analogous
#FBB98B #FBF18B #CDFB8B
triadic
#FBF18B #8BFBF1 #F18BFB
tetradic
#FBF18B #8BFBB9 #8B95FB #FB8BCD
square
#FBF18B #8BFBB9 #8B95FB #FB8BCD
split-complementary
#FBF18B #8BCDFB #B98BFB
monochromatic
#F7E315 #F9EA50 #FBF18B #FDF8C6 #FEFBE1

Accessibility & contrast

On white

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

On black

18.06
#FBF18B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF18B
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF18B#FFFFFF#000000##000000
##FBF18B1.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB83
Deuteranopia (green-blind)
#FFF08F
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf18b;
/* rgb */ color: rgb(251, 241, 139);
/* oklch */ color: oklch(94.5% 0.124 103.6);
Tailwind
colors: {
  custom: {
    50: '#fef5ae',
    500: '#fbf18b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf18b;
$custom-light: #fef5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf18b",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 139
  },
  "hsl": {
    "h": 54.643,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94476,
    "c": 0.12424,
    "h": 103.6
  },
  "luminance": 0.85284
}

Semantic roles & 50–950 ramp

primary
#FBF18B
secondary
#505CDA
accent
#14E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF18B

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

Preview Lab → · Contrast checker → · Palette generator →

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