#FBF196#FBF196

#FBF196 is a very light, moderate yellow. Relative luminance 0.856; OKLCH L 94.6% C 0.113 H 102.9°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#FBF196
RGBrgb(251, 241, 150)
HSLhsl(54, 93%, 79%)
HSVhsv(54, 40%, 98%)
CMYKcmyk(0%, 4%, 40.2%, 1.6%)
CIE-LABlab(94.15, -9.20, 45.10)
CIE-LCHlch(94.15, 46.03, 101.52°)
OKLaboklab(94.64% -0.0251 0.1098)
OKLCHoklch(94.64% 0.113 102.9)
XYZxyz(76.7454, 85.6239, 41.3326)
Luminance0.8562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF196 #96A0FB
analogous
#FBBE96 #FBF196 #D2FB96
triadic
#FBF196 #96FBF1 #F196FB
tetradic
#FBF196 #96FBBE #96A0FB #FB96D2
square
#FBF196 #96FBBE #96A0FB #FB96D2
split-complementary
#FBF196 #96D2FB #BE96FB
monochromatic
#F7E120 #F9E95B #FBF196 #FDF9D1 #FEFBE2

Accessibility & contrast

On white

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

On black

18.12
#FBF196 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF196
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF196#FFFFFF#000000##000000
##FBF1961.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf196;
/* rgb */ color: rgb(251, 241, 150);
/* oklch */ color: oklch(94.6% 0.113 102.9);
Tailwind
colors: {
  custom: {
    50: '#fef5b6',
    500: '#fbf196',
    950: '#000000',
  },
}
SCSS
$custom: #fbf196;
$custom-light: #fef5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf196",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 150
  },
  "hsl": {
    "h": 54.059,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94638,
    "c": 0.11266,
    "h": 102.9
  },
  "luminance": 0.85622
}

Semantic roles & 50–950 ramp

primary
#FBF196
secondary
#5966DC
accent
#17E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF196

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

Preview Lab → · Contrast checker → · Palette generator →

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