#FBF276#FBF276

#FBF276 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.146 H 105.1°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#FBF276
RGBrgb(251, 242, 118)
HSLhsl(56, 94%, 72%)
HSVhsv(56, 53%, 98%)
CMYKcmyk(0%, 3.6%, 53%, 1.6%)
CIE-LABlab(94.02, -12.59, 60.04)
CIE-LCHlch(94.02, 61.35, 101.84°)
OKLaboklab(94.41% -0.0378 0.1405)
OKLCHoklch(94.41% 0.146 105.1)
XYZxyz(74.8080, 85.3238, 29.6646)
Luminance0.8532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF276 #767FFB
analogous
#FBB076 #FBF276 #C1FB76
triadic
#FBF276 #76FBF2 #F276FB
tetradic
#FBF276 #76FBB0 #767FFB #FB76C1
square
#FBF276 #76FBB0 #767FFB #FB76C1
split-complementary
#FBF276 #76C1FB #B076FB
monochromatic
#F0E007 #F9EC3B #FBF276 #FDF8B1 #FEFCE1

Accessibility & contrast

On white

1.16
#FBF276 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.06
#FBF276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF276
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF276#FFFFFF#000000##000000
##FBF2761.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6A
Deuteranopia (green-blind)
#FFF17C
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf276;
/* rgb */ color: rgb(251, 242, 118);
/* oklch */ color: oklch(94.4% 0.146 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff6a1',
    500: '#fbf276',
    950: '#000000',
  },
}
SCSS
$custom: #fbf276;
$custom-light: #fff6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf276",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 118
  },
  "hsl": {
    "h": 55.94,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94411,
    "c": 0.14553,
    "h": 105.1
  },
  "luminance": 0.85321
}

Semantic roles & 50–950 ramp

primary
#FBF276
secondary
#3E48D7
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF276

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

Preview Lab → · Contrast checker → · Palette generator →

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