#FBF95F#FBF95F

#FBF95F is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.6% C 0.171 H 108.5°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#FBF95F
RGBrgb(251, 249, 95)
HSLhsl(59, 95%, 68%)
HSVhsv(59, 62%, 98%)
CMYKcmyk(0%, 0.8%, 62.2%, 1.6%)
CIE-LABlab(95.62, -17.58, 71.58)
CIE-LCHlch(95.62, 73.71, 103.80°)
OKLaboklab(95.62% -0.0544 0.1624)
OKLCHoklch(95.62% 0.171 108.5)
XYZxyz(75.7274, 89.0890, 24.0311)
Luminance0.8909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF95F #5F61FB
analogous
#FBAB5F #FBF95F #AFFB5F
triadic
#FBF95F #5FFBF9 #F95FFB
tetradic
#FBF95F #5FFBAB #5F61FB #FB5FAF
square
#FBF95F #5FFBAB #5F61FB #FB5FAF
split-complementary
#FBF95F #5FAFFB #AB5FFB
monochromatic
#DAD705 #FAF723 #FBF95F #FCFB9B #FEFDD6

Accessibility & contrast

On white

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

On black

18.82
#FBF95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF95F
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF95F#FFFFFF#000000##000000
##FBF95F1.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF4B
Deuteranopia (green-blind)
#FFF569
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf95f;
/* rgb */ color: rgb(251, 249, 95);
/* oklch */ color: oklch(95.6% 0.171 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffb93',
    500: '#fbf95f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf95f;
$custom-light: #fffb93;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf95f",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 95
  },
  "hsl": {
    "h": 59.231,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.95616,
    "c": 0.17124,
    "h": 108.5
  },
  "luminance": 0.89087
}

Semantic roles & 50–950 ramp

primary
#FBF95F
secondary
#2A2DD4
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF95F

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

Preview Lab → · Contrast checker → · Palette generator →

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