#FBF495#FBF495

#FBF495 is a very light, moderate yellow. Relative luminance 0.874; OKLCH L 95.2% C 0.117 H 104.7°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#FBF495
RGBrgb(251, 244, 149)
HSLhsl(56, 93%, 78%)
HSVhsv(56, 41%, 98%)
CMYKcmyk(0%, 2.8%, 40.6%, 1.6%)
CIE-LABlab(94.90, -10.78, 46.54)
CIE-LCHlch(94.90, 47.77, 103.04°)
OKLaboklab(95.23% -0.0297 0.113)
OKLCHoklch(95.23% 0.117 104.7)
XYZxyz(77.5606, 87.3825, 41.2088)
Luminance0.8738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF495 #959CFB
analogous
#FBC195 #FBF495 #CFFB95
triadic
#FBF495 #95FBF4 #F495FB
tetradic
#FBF495 #95FBC1 #959CFB #FB95CF
square
#FBF495 #95FBC1 #959CFB #FB95CF
split-complementary
#FBF495 #95CFFB #C195FB
monochromatic
#F7E81F #F9EE5A #FBF495 #FDFAD0 #FEFCE2

Accessibility & contrast

On white

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

On black

18.48
#FBF495 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF495
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF495#FFFFFF#000000##000000
##FBF4951.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8E
Deuteranopia (green-blind)
#FFF399
Tritanopia (blue-blind)
#FFE8DD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf495;
/* rgb */ color: rgb(251, 244, 149);
/* oklch */ color: oklch(95.2% 0.117 104.7);
Tailwind
colors: {
  custom: {
    50: '#fef7b5',
    500: '#fbf495',
    950: '#000000',
  },
}
SCSS
$custom: #fbf495;
$custom-light: #fef7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf495",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 149
  },
  "hsl": {
    "h": 55.882,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.95228,
    "c": 0.11688,
    "h": 104.7
  },
  "luminance": 0.87381
}

Semantic roles & 50–950 ramp

primary
#FBF495
secondary
#5962DC
accent
#10E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF495

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

Preview Lab → · Contrast checker → · Palette generator →

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