#FBF292#FBF292

#FBF292 is a very light, moderate yellow. Relative luminance 0.861; OKLCH L 94.8% C 0.118 H 103.7°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#FBF292
RGBrgb(251, 242, 146)
HSLhsl(55, 93%, 78%)
HSVhsv(55, 42%, 98%)
CMYKcmyk(0%, 3.6%, 41.8%, 1.6%)
CIE-LABlab(94.35, -10.10, 47.30)
CIE-LCHlch(94.35, 48.37, 102.05°)
OKLaboklab(94.78% -0.028 0.1146)
OKLCHoklch(94.78% 0.118 103.7)
XYZxyz(76.7256, 86.0909, 39.7641)
Luminance0.8609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF292 #929BFB
analogous
#FBBD92 #FBF292 #CFFB92
triadic
#FBF292 #92FBF2 #F292FB
tetradic
#FBF292 #92FBBD #929BFB #FB92CF
square
#FBF292 #92FBBD #929BFB #FB92CF
split-complementary
#FBF292 #92CFFB #BD92FB
monochromatic
#F7E41C #F9EB57 #FBF292 #FDF9CD #FEFBE1

Accessibility & contrast

On white

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

On black

18.22
#FBF292 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF292
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF292#FFFFFF#000000##000000
##FBF2921.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8A
Deuteranopia (green-blind)
#FFF196
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf292;
/* rgb */ color: rgb(251, 242, 146);
/* oklch */ color: oklch(94.8% 0.118 103.7);
Tailwind
colors: {
  custom: {
    50: '#fef6b3',
    500: '#fbf292',
    950: '#000000',
  },
}
SCSS
$custom: #fbf292;
$custom-light: #fef6b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf292",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 146
  },
  "hsl": {
    "h": 54.857,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.94779,
    "c": 0.11797,
    "h": 103.7
  },
  "luminance": 0.86089
}

Semantic roles & 50–950 ramp

primary
#FBF292
secondary
#5661DB
accent
#14E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF292

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

Preview Lab → · Contrast checker → · Palette generator →

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