#FBF696#FBF696

#FBF696 is a very light, moderate yellow. Relative luminance 0.886; OKLCH L 95.6% C 0.118 H 105.8°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#FBF696
RGBrgb(251, 246, 150)
HSLhsl(57, 93%, 79%)
HSVhsv(57, 40%, 98%)
CMYKcmyk(0%, 2%, 40.2%, 1.6%)
CIE-LABlab(95.42, -11.66, 46.71)
CIE-LCHlch(95.42, 48.15, 104.02°)
OKLaboklab(95.65% -0.0322 0.1135)
OKLCHoklch(95.65% 0.118 105.8)
XYZxyz(78.2458, 88.6246, 41.8327)
Luminance0.8862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF696 #969BFB
analogous
#FBC396 #FBF696 #CDFB96
triadic
#FBF696 #96FBF6 #F696FB
tetradic
#FBF696 #96FBC3 #969BFB #FB96CD
square
#FBF696 #96FBC3 #969BFB #FB96CD
split-complementary
#FBF696 #96CDFB #C396FB
monochromatic
#F7EC20 #F9F15B #FBF696 #FDFBD1 #FEFCE2

Accessibility & contrast

On white

1.12
#FBF696 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.72
#FBF696 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF696
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF696#FFFFFF#000000##000000
##FBF6961.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#FFF49A
Tritanopia (blue-blind)
#FFEBDF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf696;
/* rgb */ color: rgb(251, 246, 150);
/* oklch */ color: oklch(95.6% 0.118 105.8);
Tailwind
colors: {
  custom: {
    50: '#fef9b6',
    500: '#fbf696',
    950: '#000000',
  },
}
SCSS
$custom: #fbf696;
$custom-light: #fef9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf696",
  "rgb": {
    "r": 251,
    "g": 246,
    "b": 150
  },
  "hsl": {
    "h": 57.03,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95647,
    "c": 0.11796,
    "h": 105.8
  },
  "luminance": 0.88623
}

Semantic roles & 50–950 ramp

primary
#FBF696
secondary
#5960DC
accent
#0BE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF696

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

Preview Lab → · Contrast checker → · Palette generator →

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