#FBF296#FBF296

#FBF296 is a very light, moderate yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.114 H 103.5°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#FBF296
RGBrgb(251, 242, 150)
HSLhsl(55, 93%, 79%)
HSVhsv(55, 40%, 98%)
CMYKcmyk(0%, 3.6%, 40.2%, 1.6%)
CIE-LABlab(94.41, -9.69, 45.43)
CIE-LCHlch(94.41, 46.45, 102.04°)
OKLaboklab(94.84% -0.0265 0.1106)
OKLCHoklch(94.84% 0.114 103.5)
XYZxyz(77.0422, 86.2175, 41.4315)
Luminance0.8621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF296 #969FFB
analogous
#FBBF96 #FBF296 #D1FB96
triadic
#FBF296 #96FBF2 #F296FB
tetradic
#FBF296 #96FBBF #969FFB #FB96D1
square
#FBF296 #96FBBF #969FFB #FB96D1
split-complementary
#FBF296 #96D1FB #BF96FB
monochromatic
#F7E320 #F9EB5B #FBF296 #FDF9D1 #FEFBE2

Accessibility & contrast

On white

1.15
#FBF296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#FBF296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF296
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF296#FFFFFF#000000##000000
##FBF2961.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FFF19A
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf296;
/* rgb */ color: rgb(251, 242, 150);
/* oklch */ color: oklch(94.8% 0.114 103.5);
Tailwind
colors: {
  custom: {
    50: '#fef6b6',
    500: '#fbf296',
    950: '#000000',
  },
}
SCSS
$custom: #fbf296;
$custom-light: #fef6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf296",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 54.653,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94839,
    "c": 0.11369,
    "h": 103.5
  },
  "luminance": 0.86215
}

Semantic roles & 50–950 ramp

primary
#FBF296
secondary
#5965DC
accent
#14E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF296

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

Preview Lab → · Contrast checker → · Palette generator →

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