#FBF698#FBF698

#FBF698 is a very light, moderate yellow. Relative luminance 0.887; OKLCH L 95.7% C 0.116 H 105.7°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#FBF698
RGBrgb(251, 246, 152)
HSLhsl(57, 93%, 79%)
HSVhsv(57, 39%, 98%)
CMYKcmyk(0%, 2%, 39.4%, 1.6%)
CIE-LABlab(95.45, -11.46, 45.78)
CIE-LCHlch(95.45, 47.19, 104.05°)
OKLaboklab(95.68% -0.0314 0.1115)
OKLCHoklch(95.68% 0.116 105.7)
XYZxyz(78.4082, 88.6896, 42.6881)
Luminance0.8869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF698 #989DFB
analogous
#FBC598 #FBF698 #CFFB98
triadic
#FBF698 #98FBF6 #F698FB
tetradic
#FBF698 #98FBC5 #989DFB #FB98CF
square
#FBF698 #98FBC5 #989DFB #FB98CF
split-complementary
#FBF698 #98CFFB #C598FB
monochromatic
#F6EC22 #F9F15D #FBF698 #FDFBD3 #FEFCE2

Accessibility & contrast

On white

1.12
#FBF698 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.74
#FBF698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF698
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF698#FFFFFF#000000##000000
##FBF6981.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF91
Deuteranopia (green-blind)
#FFF49C
Tritanopia (blue-blind)
#FFEBDF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf698;
/* rgb */ color: rgb(251, 246, 152);
/* oklch */ color: oklch(95.7% 0.116 105.7);
Tailwind
colors: {
  custom: {
    50: '#fef9b7',
    500: '#fbf698',
    950: '#000000',
  },
}
SCSS
$custom: #fbf698;
$custom-light: #fef9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf698",
  "rgb": {
    "r": 251,
    "g": 246,
    "b": 152
  },
  "hsl": {
    "h": 56.97,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95678,
    "c": 0.11581,
    "h": 105.7
  },
  "luminance": 0.88688
}

Semantic roles & 50–950 ramp

primary
#FBF698
secondary
#5B62DC
accent
#0CE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF698

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

Preview Lab → · Contrast checker → · Palette generator →

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