#FBF576#FBF576

#FBF576 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.149 H 106.4°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#FBF576
RGBrgb(251, 245, 118)
HSLhsl(57, 94%, 72%)
HSVhsv(57, 53%, 98%)
CMYKcmyk(0%, 2.4%, 53%, 1.6%)
CIE-LABlab(94.79, -14.06, 60.93)
CIE-LCHlch(94.79, 62.53, 102.99°)
OKLaboklab(95.02% -0.042 0.1425)
OKLCHoklch(95.02% 0.149 106.4)
XYZxyz(75.7082, 87.1243, 29.9646)
Luminance0.8712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF576 #767CFB
analogous
#FBB276 #FBF576 #BFFB76
triadic
#FBF576 #76FBF5 #F576FB
tetradic
#FBF576 #76FBB2 #767CFB #FB76BF
square
#FBF576 #76FBB2 #767CFB #FB76BF
split-complementary
#FBF576 #76BFFB #B276FB
monochromatic
#F0E507 #F9F13B #FBF576 #FDF9B1 #FEFDE1

Accessibility & contrast

On white

1.14
#FBF576 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#FBF576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF576
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF576#FFFFFF#000000##000000
##FBF5761.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6A
Deuteranopia (green-blind)
#FFF37D
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf576;
/* rgb */ color: rgb(251, 245, 118);
/* oklch */ color: oklch(95.0% 0.149 106.4);
Tailwind
colors: {
  custom: {
    50: '#fff8a1',
    500: '#fbf576',
    950: '#000000',
  },
}
SCSS
$custom: #fbf576;
$custom-light: #fff8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf576",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 118
  },
  "hsl": {
    "h": 57.293,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95022,
    "c": 0.14852,
    "h": 106.4
  },
  "luminance": 0.87122
}

Semantic roles & 50–950 ramp

primary
#FBF576
secondary
#3E45D7
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF576

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

Preview Lab → · Contrast checker → · Palette generator →

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