#FBF198#FBF198

#FBF198 is a very light, moderate yellow. Relative luminance 0.857; OKLCH L 94.7% C 0.110 H 102.7°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#FBF198
RGBrgb(251, 241, 152)
HSLhsl(54, 93%, 79%)
HSVhsv(54, 39%, 98%)
CMYKcmyk(0%, 4%, 39.4%, 1.6%)
CIE-LABlab(94.18, -8.99, 44.16)
CIE-LCHlch(94.18, 45.06, 101.50°)
OKLaboklab(94.67% -0.0243 0.1078)
OKLCHoklch(94.67% 0.11 102.7)
XYZxyz(76.9078, 85.6889, 42.1880)
Luminance0.8569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF198 #98A2FB
analogous
#FBC098 #FBF198 #D4FB98
triadic
#FBF198 #98FBF1 #F198FB
tetradic
#FBF198 #98FBC0 #98A2FB #FB98D4
square
#FBF198 #98FBC0 #98A2FB #FB98D4
split-complementary
#FBF198 #98D4FB #C098FB
monochromatic
#F6E122 #F9E95D #FBF198 #FDF9D3 #FEFBE2

Accessibility & contrast

On white

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

On black

18.14
#FBF198 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF198
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF198#FFFFFF#000000##000000
##FBF1981.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB91
Deuteranopia (green-blind)
#FFF19C
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf198;
/* rgb */ color: rgb(251, 241, 152);
/* oklch */ color: oklch(94.7% 0.110 102.7);
Tailwind
colors: {
  custom: {
    50: '#fef5b7',
    500: '#fbf198',
    950: '#000000',
  },
}
SCSS
$custom: #fbf198;
$custom-light: #fef5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf198",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 152
  },
  "hsl": {
    "h": 53.939,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.94669,
    "c": 0.11049,
    "h": 102.7
  },
  "luminance": 0.85687
}

Semantic roles & 50–950 ramp

primary
#FBF198
secondary
#5B68DC
accent
#17E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF198

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

Preview Lab → · Contrast checker → · Palette generator →

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