#FBF18D#FBF18D

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

Color values

HEX#FBF18D
RGBrgb(251, 241, 141)
HSLhsl(55, 93%, 77%)
HSVhsv(55, 44%, 98%)
CMYKcmyk(0%, 4%, 43.8%, 1.6%)
CIE-LABlab(94.03, -10.09, 49.32)
CIE-LCHlch(94.03, 50.34, 101.57°)
OKLaboklab(94.5% -0.0284 0.1188)
OKLCHoklch(94.5% 0.122 103.5)
XYZxyz(76.0484, 85.3451, 37.6614)
Luminance0.8534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF18D #8D97FB
analogous
#FBBA8D #FBF18D #CEFB8D
triadic
#FBF18D #8DFBF1 #F18DFB
tetradic
#FBF18D #8DFBBA #8D97FB #FB8DCE
square
#FBF18D #8DFBBA #8D97FB #FB8DCE
split-complementary
#FBF18D #8DCEFB #BA8DFB
monochromatic
#F7E217 #F9EA52 #FBF18D #FDF8C8 #FEFBE1

Accessibility & contrast

On white

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

On black

18.07
#FBF18D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF18D
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF18D#FFFFFF#000000##000000
##FBF18D1.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf18d;
/* rgb */ color: rgb(251, 241, 141);
/* oklch */ color: oklch(94.5% 0.122 103.5);
Tailwind
colors: {
  custom: {
    50: '#fef5b0',
    500: '#fbf18d',
    950: '#000000',
  },
}
SCSS
$custom: #fbf18d;
$custom-light: #fef5b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf18d",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 141
  },
  "hsl": {
    "h": 54.545,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.94504,
    "c": 0.12218,
    "h": 103.5
  },
  "luminance": 0.85343
}

Semantic roles & 50–950 ramp

primary
#FBF18D
secondary
#525EDB
accent
#15E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FBF18D

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

Preview Lab → · Contrast checker → · Palette generator →

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