#FBF395#FBF395

#FBF395 is a very light, moderate yellow. Relative luminance 0.868; OKLCH L 95.0% C 0.116 H 104.1°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#FBF395
RGBrgb(251, 243, 149)
HSLhsl(55, 93%, 78%)
HSVhsv(55, 41%, 98%)
CMYKcmyk(0%, 3.2%, 40.6%, 1.6%)
CIE-LABlab(94.65, -10.29, 46.22)
CIE-LCHlch(94.65, 47.35, 102.55°)
OKLaboklab(95.03% -0.0283 0.1123)
OKLCHoklch(95.03% 0.116 104.1)
XYZxyz(77.2605, 86.7823, 41.1087)
Luminance0.8678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF395 #959DFB
analogous
#FBC095 #FBF395 #D0FB95
triadic
#FBF395 #95FBF3 #F395FB
tetradic
#FBF395 #95FBC0 #959DFB #FB95D0
square
#FBF395 #95FBC0 #959DFB #FB95D0
split-complementary
#FBF395 #95D0FB #C095FB
monochromatic
#F7E61F #F9EC5A #FBF395 #FDFAD0 #FEFCE2

Accessibility & contrast

On white

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

On black

18.36
#FBF395 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF395
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF395#FFFFFF#000000##000000
##FBF3951.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8E
Deuteranopia (green-blind)
#FFF299
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf395;
/* rgb */ color: rgb(251, 243, 149);
/* oklch */ color: oklch(95.0% 0.116 104.1);
Tailwind
colors: {
  custom: {
    50: '#fef6b5',
    500: '#fbf395',
    950: '#000000',
  },
}
SCSS
$custom: #fbf395;
$custom-light: #fef6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf395",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 149
  },
  "hsl": {
    "h": 55.294,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.95026,
    "c": 0.11582,
    "h": 104.1
  },
  "luminance": 0.8678
}

Semantic roles & 50–950 ramp

primary
#FBF395
secondary
#5963DC
accent
#12E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF395

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

Preview Lab → · Contrast checker → · Palette generator →

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