#FBF595#FBF595

#FBF595 is a very light, moderate yellow. Relative luminance 0.880; OKLCH L 95.4% C 0.118 H 105.3°. Best body text is #000000 at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#FBF595
RGBrgb(251, 245, 149)
HSLhsl(56, 93%, 78%)
HSVhsv(56, 41%, 98%)
CMYKcmyk(0%, 2.4%, 40.6%, 1.6%)
CIE-LABlab(95.16, -11.27, 46.86)
CIE-LCHlch(95.16, 48.20, 103.53°)
OKLaboklab(95.43% -0.0311 0.1138)
OKLCHoklch(95.43% 0.118 105.3)
XYZxyz(77.8623, 87.9859, 41.3093)
Luminance0.8798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF595 #959BFB
analogous
#FBC295 #FBF595 #CEFB95
triadic
#FBF595 #95FBF5 #F595FB
tetradic
#FBF595 #95FBC2 #959BFB #FB95CE
square
#FBF595 #95FBC2 #959BFB #FB95CE
split-complementary
#FBF595 #95CEFB #C295FB
monochromatic
#F7EA1F #F9EF5A #FBF595 #FDFBD0 #FEFCE2

Accessibility & contrast

On white

1.13
#FBF595 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.60
#FBF595 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF595
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF595#FFFFFF#000000##000000
##FBF5951.001.1318.6018.60
#FFFFFF1.131.0021.0021.00
#00000018.6021.001.001.00
##00000018.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf595;
/* rgb */ color: rgb(251, 245, 149);
/* oklch */ color: oklch(95.4% 0.118 105.3);
Tailwind
colors: {
  custom: {
    50: '#fef8b5',
    500: '#fbf595',
    950: '#000000',
  },
}
SCSS
$custom: #fbf595;
$custom-light: #fef8b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf595",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 149
  },
  "hsl": {
    "h": 56.471,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.9543,
    "c": 0.11795,
    "h": 105.3
  },
  "luminance": 0.87984
}

Semantic roles & 50–950 ramp

primary
#FBF595
secondary
#5960DC
accent
#0DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF595

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

Preview Lab → · Contrast checker → · Palette generator →

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