#FBF792#FBF792

#FBF792 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.8% C 0.123 H 106.5°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#FBF792
RGBrgb(251, 247, 146)
HSLhsl(58, 93%, 78%)
HSVhsv(58, 42%, 98%)
CMYKcmyk(0%, 1.6%, 41.8%, 1.6%)
CIE-LABlab(95.63, -12.56, 48.90)
CIE-LCHlch(95.63, 50.49, 104.40°)
OKLaboklab(95.79% -0.0351 0.1182)
OKLCHoklch(95.79% 0.123 106.5)
XYZxyz(78.2342, 89.1079, 40.2669)
Luminance0.8911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF792 #9296FB
analogous
#FBC292 #FBF792 #CBFB92
triadic
#FBF792 #92FBF7 #F792FB
tetradic
#FBF792 #92FBC2 #9296FB #FB92CB
square
#FBF792 #92FBC2 #9296FB #FB92CB
split-complementary
#FBF792 #92CBFB #C292FB
monochromatic
#F7EE1C #F9F357 #FBF792 #FDFBCD #FEFDE1

Accessibility & contrast

On white

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

On black

18.82
#FBF792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF792
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF792#FFFFFF#000000##000000
##FBF7921.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf792;
/* rgb */ color: rgb(251, 247, 146);
/* oklch */ color: oklch(95.8% 0.123 106.5);
Tailwind
colors: {
  custom: {
    50: '#fef9b3',
    500: '#fbf792',
    950: '#000000',
  },
}
SCSS
$custom: #fbf792;
$custom-light: #fef9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf792",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 57.714,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.95791,
    "c": 0.12328,
    "h": 106.5
  },
  "luminance": 0.89106
}

Semantic roles & 50–950 ramp

primary
#FBF792
secondary
#565BDB
accent
#09E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF792

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

Preview Lab → · Contrast checker → · Palette generator →

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