#FBF975#FBF975

#FBF975 is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.8% C 0.153 H 108.2°. Best body text is #000000 at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#FBF975
RGBrgb(251, 249, 117)
HSLhsl(59, 94%, 72%)
HSVhsv(59, 53%, 98%)
CMYKcmyk(0%, 0.8%, 53.4%, 1.6%)
CIE-LABlab(95.81, -16.08, 62.54)
CIE-LCHlch(95.81, 64.58, 104.42°)
OKLaboklab(95.83% -0.0479 0.1458)
OKLCHoklch(95.83% 0.153 108.2)
XYZxyz(76.8723, 89.5470, 30.0611)
Luminance0.8954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF975 #7577FB
analogous
#FBB675 #FBF975 #BAFB75
triadic
#FBF975 #75FBF9 #F975FB
tetradic
#FBF975 #75FBB6 #7577FB #FB75BA
square
#FBF975 #75FBB6 #7577FB #FB75BA
split-complementary
#FBF975 #75BAFB #B675FB
monochromatic
#EFEB07 #F9F63A #FBF975 #FDFCB0 #FEFEE1

Accessibility & contrast

On white

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

On black

18.91
#FBF975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF975
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF975#FFFFFF#000000##000000
##FBF9751.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF068
Deuteranopia (green-blind)
#FFF57C
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf975;
/* rgb */ color: rgb(251, 249, 117);
/* oklch */ color: oklch(95.8% 0.153 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffba0',
    500: '#fbf975',
    950: '#000000',
  },
}
SCSS
$custom: #fbf975;
$custom-light: #fffba0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf975",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 117
  },
  "hsl": {
    "h": 59.104,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95829,
    "c": 0.15349,
    "h": 108.2
  },
  "luminance": 0.89545
}

Semantic roles & 50–950 ramp

primary
#FBF975
secondary
#3D3FD7
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF975

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

Preview Lab → · Contrast checker → · Palette generator →

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