#FBF598#FBF598

#FBF598 is a very light, moderate yellow. Relative luminance 0.881; OKLCH L 95.5% C 0.115 H 105.2°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#FBF598
RGBrgb(251, 245, 152)
HSLhsl(56, 93%, 79%)
HSVhsv(56, 39%, 98%)
CMYKcmyk(0%, 2.4%, 39.4%, 1.6%)
CIE-LABlab(95.20, -10.96, 45.45)
CIE-LCHlch(95.20, 46.76, 103.56°)
OKLaboklab(95.48% -0.03 0.1107)
OKLCHoklch(95.48% 0.115 105.2)
XYZxyz(78.1049, 88.0829, 42.5870)
Luminance0.8808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF598 #989EFB
analogous
#FBC498 #FBF598 #D0FB98
triadic
#FBF598 #98FBF5 #F598FB
tetradic
#FBF598 #98FBC4 #989EFB #FB98D0
square
#FBF598 #98FBC4 #989EFB #FB98D0
split-complementary
#FBF598 #98D0FB #C498FB
monochromatic
#F6EA22 #F9EF5D #FBF598 #FDFBD3 #FEFCE2

Accessibility & contrast

On white

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

On black

18.62
#FBF598 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF598
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF598#FFFFFF#000000##000000
##FBF5981.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF91
Deuteranopia (green-blind)
#FFF39C
Tritanopia (blue-blind)
#FFEADE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf598;
/* rgb */ color: rgb(251, 245, 152);
/* oklch */ color: oklch(95.5% 0.115 105.2);
Tailwind
colors: {
  custom: {
    50: '#fef8b7',
    500: '#fbf598',
    950: '#000000',
  },
}
SCSS
$custom: #fbf598;
$custom-light: #fef8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf598",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 152
  },
  "hsl": {
    "h": 56.364,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95476,
    "c": 0.11472,
    "h": 105.2
  },
  "luminance": 0.88081
}

Semantic roles & 50–950 ramp

primary
#FBF598
secondary
#5B63DC
accent
#0EE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF598

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

Preview Lab → · Contrast checker → · Palette generator →

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