#FBF295#FBF295

#FBF295 is a very light, moderate yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.115 H 103.5°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#FBF295
RGBrgb(251, 242, 149)
HSLhsl(55, 93%, 78%)
HSVhsv(55, 41%, 98%)
CMYKcmyk(0%, 3.6%, 40.6%, 1.6%)
CIE-LABlab(94.39, -9.79, 45.90)
CIE-LCHlch(94.39, 46.93, 102.05°)
OKLaboklab(94.82% -0.0269 0.1116)
OKLCHoklch(94.82% 0.115 103.5)
XYZxyz(76.9620, 86.1855, 41.0092)
Luminance0.8618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF295 #959EFB
analogous
#FBBF95 #FBF295 #D1FB95
triadic
#FBF295 #95FBF2 #F295FB
tetradic
#FBF295 #95FBBF #959EFB #FB95D1
square
#FBF295 #95FBBF #959EFB #FB95D1
split-complementary
#FBF295 #95D1FB #BF95FB
monochromatic
#F7E41F #F9EB5A #FBF295 #FDF9D0 #FEFBE2

Accessibility & contrast

On white

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

On black

18.24
#FBF295 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF295
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF295#FFFFFF#000000##000000
##FBF2951.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8E
Deuteranopia (green-blind)
#FFF199
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf295;
/* rgb */ color: rgb(251, 242, 149);
/* oklch */ color: oklch(94.8% 0.115 103.5);
Tailwind
colors: {
  custom: {
    50: '#fef6b5',
    500: '#fbf295',
    950: '#000000',
  },
}
SCSS
$custom: #fbf295;
$custom-light: #fef6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf295",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 149
  },
  "hsl": {
    "h": 54.706,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.94824,
    "c": 0.11477,
    "h": 103.5
  },
  "luminance": 0.86183
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF295

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

Preview Lab → · Contrast checker → · Palette generator →

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