#FBF476#FBF476

#FBF476 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.148 H 106.0°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#FBF476
RGBrgb(251, 244, 118)
HSLhsl(57, 94%, 72%)
HSVhsv(57, 53%, 98%)
CMYKcmyk(0%, 2.8%, 53%, 1.6%)
CIE-LABlab(94.53, -13.57, 60.63)
CIE-LCHlch(94.53, 62.13, 102.62°)
OKLaboklab(94.82% -0.0406 0.1418)
OKLCHoklch(94.82% 0.148 106)
XYZxyz(75.4065, 86.5209, 29.8641)
Luminance0.8652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF476 #767DFB
analogous
#FBB176 #FBF476 #C0FB76
triadic
#FBF476 #76FBF4 #F476FB
tetradic
#FBF476 #76FBB1 #767DFB #FB76C0
square
#FBF476 #76FBB1 #767DFB #FB76C0
split-complementary
#FBF476 #76C0FB #B176FB
monochromatic
#F0E307 #F9EF3B #FBF476 #FDF9B1 #FEFDE1

Accessibility & contrast

On white

1.15
#FBF476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#FBF476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF476
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF476#FFFFFF#000000##000000
##FBF4761.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6A
Deuteranopia (green-blind)
#FFF27C
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf476;
/* rgb */ color: rgb(251, 244, 118);
/* oklch */ color: oklch(94.8% 0.148 106.0);
Tailwind
colors: {
  custom: {
    50: '#fff7a1',
    500: '#fbf476',
    950: '#000000',
  },
}
SCSS
$custom: #fbf476;
$custom-light: #fff7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf476",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 118
  },
  "hsl": {
    "h": 56.842,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94819,
    "c": 0.14752,
    "h": 106
  },
  "luminance": 0.86519
}

Semantic roles & 50–950 ramp

primary
#FBF476
secondary
#3E46D7
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF476

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

Preview Lab → · Contrast checker → · Palette generator →

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