#FBF396#FBF396

#FBF396 is a very light, moderate yellow. Relative luminance 0.868; OKLCH L 95.0% C 0.115 H 104.1°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#FBF396
RGBrgb(251, 243, 150)
HSLhsl(55, 93%, 79%)
HSVhsv(55, 40%, 98%)
CMYKcmyk(0%, 3.2%, 40.2%, 1.6%)
CIE-LABlab(94.66, -10.19, 45.75)
CIE-LCHlch(94.66, 46.87, 102.55°)
OKLaboklab(95.04% -0.0279 0.1113)
OKLCHoklch(95.04% 0.115 104.1)
XYZxyz(77.3407, 86.8144, 41.5310)
Luminance0.8681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF396 #969EFB
analogous
#FBC096 #FBF396 #D0FB96
triadic
#FBF396 #96FBF3 #F396FB
tetradic
#FBF396 #96FBC0 #969EFB #FB96D0
square
#FBF396 #96FBC0 #969EFB #FB96D0
split-complementary
#FBF396 #96D0FB #C096FB
monochromatic
#F7E620 #F9EC5B #FBF396 #FDFAD1 #FEFCE2

Accessibility & contrast

On white

1.14
#FBF396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.36
#FBF396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF396
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF396#FFFFFF#000000##000000
##FBF3961.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FFF29A
Tritanopia (blue-blind)
#FFE8DC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf396;
/* rgb */ color: rgb(251, 243, 150);
/* oklch */ color: oklch(95.0% 0.115 104.1);
Tailwind
colors: {
  custom: {
    50: '#fef6b6',
    500: '#fbf396',
    950: '#000000',
  },
}
SCSS
$custom: #fbf396;
$custom-light: #fef6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf396",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 150
  },
  "hsl": {
    "h": 55.248,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95041,
    "c": 0.11474,
    "h": 104.1
  },
  "luminance": 0.86812
}

Semantic roles & 50–950 ramp

primary
#FBF396
secondary
#5964DC
accent
#12E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF396

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

Preview Lab → · Contrast checker → · Palette generator →

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