#FBF596#FBF596

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

Color values

HEX#FBF596
RGBrgb(251, 245, 150)
HSLhsl(56, 93%, 79%)
HSVhsv(56, 40%, 98%)
CMYKcmyk(0%, 2.4%, 40.2%, 1.6%)
CIE-LABlab(95.17, -11.17, 46.39)
CIE-LCHlch(95.17, 47.72, 103.54°)
OKLaboklab(95.45% -0.0308 0.1128)
OKLCHoklch(95.45% 0.117 105.3)
XYZxyz(77.9424, 88.0180, 41.7316)
Luminance0.8802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF596 #969CFB
analogous
#FBC296 #FBF596 #CEFB96
triadic
#FBF596 #96FBF5 #F596FB
tetradic
#FBF596 #96FBC2 #969CFB #FB96CE
square
#FBF596 #96FBC2 #969CFB #FB96CE
split-complementary
#FBF596 #96CEFB #C296FB
monochromatic
#F7EA20 #F9EF5B #FBF596 #FDFBD1 #FEFCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF596#FFFFFF#000000##000000
##FBF5961.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)
#FFEE8F
Deuteranopia (green-blind)
#FFF39A
Tritanopia (blue-blind)
#FFEADE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf596;
/* rgb */ color: rgb(251, 245, 150);
/* oklch */ color: oklch(95.4% 0.117 105.3);
Tailwind
colors: {
  custom: {
    50: '#fef8b6',
    500: '#fbf596',
    950: '#000000',
  },
}
SCSS
$custom: #fbf596;
$custom-light: #fef8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf596",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 150
  },
  "hsl": {
    "h": 56.436,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95445,
    "c": 0.11688,
    "h": 105.3
  },
  "luminance": 0.88016
}

Semantic roles & 50–950 ramp

primary
#FBF596
secondary
#5961DC
accent
#0EE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF596

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

Preview Lab → · Contrast checker → · Palette generator →

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