#FBF18F#FBF18F

#FBF18F is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.5% C 0.120 H 103.3°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#FBF18F
RGBrgb(251, 241, 143)
HSLhsl(54, 93%, 77%)
HSVhsv(54, 43%, 98%)
CMYKcmyk(0%, 4%, 43%, 1.6%)
CIE-LABlab(94.06, -9.90, 48.39)
CIE-LCHlch(94.06, 49.39, 101.56°)
OKLaboklab(94.53% -0.0277 0.1169)
OKLCHoklch(94.53% 0.12 103.3)
XYZxyz(76.1985, 85.4051, 38.4522)
Luminance0.8540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF18F #8F99FB
analogous
#FBBB8F #FBF18F #CFFB8F
triadic
#FBF18F #8FFBF1 #F18FFB
tetradic
#FBF18F #8FFBBB #8F99FB #FB8FCF
square
#FBF18F #8FFBBB #8F99FB #FB8FCF
split-complementary
#FBF18F #8FCFFB #BB8FFB
monochromatic
#F7E219 #F9EA54 #FBF18F #FDF8CA #FEFBE1

Accessibility & contrast

On white

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

On black

18.08
#FBF18F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF18F
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF18F#FFFFFF#000000##000000
##FBF18F1.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf18f;
/* rgb */ color: rgb(251, 241, 143);
/* oklch */ color: oklch(94.5% 0.120 103.3);
Tailwind
colors: {
  custom: {
    50: '#fef5b1',
    500: '#fbf18f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf18f;
$custom-light: #fef5b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf18f",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 143
  },
  "hsl": {
    "h": 54.444,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.94533,
    "c": 0.12009,
    "h": 103.3
  },
  "luminance": 0.85403
}

Semantic roles & 50–950 ramp

primary
#FBF18F
secondary
#5360DB
accent
#15E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF18F

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

Preview Lab → · Contrast checker → · Palette generator →

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