#FBF98F#FBF98F

#FBF98F is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.2% C 0.129 H 107.6°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#FBF98F
RGBrgb(251, 249, 143)
HSLhsl(59, 93%, 77%)
HSVhsv(59, 43%, 98%)
CMYKcmyk(0%, 0.8%, 43%, 1.6%)
CIE-LABlab(96.10, -13.83, 50.92)
CIE-LCHlch(96.10, 52.77, 105.19°)
OKLaboklab(96.15% -0.039 0.1225)
OKLCHoklch(96.15% 0.129 107.6)
XYZxyz(78.6187, 90.2456, 39.2589)
Luminance0.9024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF98F #8F91FB
analogous
#FBC38F #FBF98F #C7FB8F
triadic
#FBF98F #8FFBF9 #F98FFB
tetradic
#FBF98F #8FFBC3 #8F91FB #FB8FC7
square
#FBF98F #8FFBC3 #8F91FB #FB8FC7
split-complementary
#FBF98F #8FC7FB #C38FFB
monochromatic
#F7F319 #F9F654 #FBF98F #FDFCCA #FEFDE1

Accessibility & contrast

On white

1.10
#FBF98F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.05
#FBF98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF98F
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF98F#FFFFFF#000000##000000
##FBF98F1.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF186
Deuteranopia (green-blind)
#FFF694
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fbf98f;
/* rgb */ color: rgb(251, 249, 143);
/* oklch */ color: oklch(96.2% 0.129 107.6);
Tailwind
colors: {
  custom: {
    50: '#fefbb1',
    500: '#fbf98f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf98f;
$custom-light: #fefbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf98f",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 143
  },
  "hsl": {
    "h": 58.889,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.96154,
    "c": 0.12859,
    "h": 107.6
  },
  "luminance": 0.90244
}

Semantic roles & 50–950 ramp

primary
#FBF98F
secondary
#5356DB
accent
#04E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF98F

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

Preview Lab → · Contrast checker → · Palette generator →

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