#FBF197#FBF197

#FBF197 is a very light, moderate yellow. Relative luminance 0.857; OKLCH L 94.7% C 0.112 H 102.8°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#FBF197
RGBrgb(251, 241, 151)
HSLhsl(54, 93%, 79%)
HSVhsv(54, 40%, 98%)
CMYKcmyk(0%, 4%, 39.8%, 1.6%)
CIE-LABlab(94.17, -9.09, 44.63)
CIE-LCHlch(94.17, 45.55, 101.51°)
OKLaboklab(94.65% -0.0247 0.1088)
OKLCHoklch(94.65% 0.112 102.8)
XYZxyz(76.8263, 85.6562, 41.7585)
Luminance0.8565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF197 #97A1FB
analogous
#FBBF97 #FBF197 #D3FB97
triadic
#FBF197 #97FBF1 #F197FB
tetradic
#FBF197 #97FBBF #97A1FB #FB97D3
square
#FBF197 #97FBBF #97A1FB #FB97D3
split-complementary
#FBF197 #97D3FB #BF97FB
monochromatic
#F6E121 #F9E95C #FBF197 #FDF9D2 #FEFBE2

Accessibility & contrast

On white

1.16
#FBF197 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.13
#FBF197 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF197
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF197#FFFFFF#000000##000000
##FBF1971.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB90
Deuteranopia (green-blind)
#FFF19B
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf197;
/* rgb */ color: rgb(251, 241, 151);
/* oklch */ color: oklch(94.7% 0.112 102.8);
Tailwind
colors: {
  custom: {
    50: '#fef5b7',
    500: '#fbf197',
    950: '#000000',
  },
}
SCSS
$custom: #fbf197;
$custom-light: #fef5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf197",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 151
  },
  "hsl": {
    "h": 54,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94653,
    "c": 0.11158,
    "h": 102.8
  },
  "luminance": 0.85654
}

Semantic roles & 50–950 ramp

primary
#FBF197
secondary
#5A67DC
accent
#17E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF197

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

Preview Lab → · Contrast checker → · Palette generator →

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