#FBF97F#FBF97F

#FBF97F is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.9% C 0.144 H 108.0°. Best body text is #000000 at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#FBF97F
RGBrgb(251, 249, 127)
HSLhsl(59, 94%, 74%)
HSVhsv(59, 49%, 98%)
CMYKcmyk(0%, 0.8%, 49.4%, 1.6%)
CIE-LABlab(95.91, -15.28, 58.17)
CIE-LCHlch(95.91, 60.14, 104.72°)
OKLaboklab(95.95% -0.0446 0.1373)
OKLCHoklch(95.95% 0.144 108)
XYZxyz(77.4920, 89.7949, 33.3246)
Luminance0.8979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF97F #7F81FB
analogous
#FBBB7F #FBF97F #BFFB7F
triadic
#FBF97F #7FFBF9 #F97FFB
tetradic
#FBF97F #7FFBBB #7F81FB #FB7FBF
square
#FBF97F #7FFBBB #7F81FB #FB7FBF
split-complementary
#FBF97F #7FBFFB #BB7FFB
monochromatic
#F7F308 #F9F644 #FBF97F #FDFCBA #FEFEE1

Accessibility & contrast

On white

1.11
#FBF97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.96
#FBF97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF97F
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF97F#FFFFFF#000000##000000
##FBF97F1.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF174
Deuteranopia (green-blind)
#FFF585
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf97f;
/* rgb */ color: rgb(251, 249, 127);
/* oklch */ color: oklch(95.9% 0.144 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffba7',
    500: '#fbf97f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf97f;
$custom-light: #fffba7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf97f",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 59.032,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95945,
    "c": 0.14438,
    "h": 108
  },
  "luminance": 0.89793
}

Semantic roles & 50–950 ramp

primary
#FBF97F
secondary
#4648D9
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF97F

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

Preview Lab → · Contrast checker → · Palette generator →

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