#FBF280#FBF280

#FBF280 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.136 H 104.7°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#FBF280
RGBrgb(251, 242, 128)
HSLhsl(56, 94%, 74%)
HSVhsv(56, 49%, 98%)
CMYKcmyk(0%, 3.6%, 49%, 1.6%)
CIE-LABlab(94.13, -11.77, 55.59)
CIE-LCHlch(94.13, 56.82, 101.96°)
OKLaboklab(94.53% -0.0345 0.1318)
OKLCHoklch(94.53% 0.136 104.7)
XYZxyz(75.4340, 85.5743, 32.9618)
Luminance0.8557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF280 #8089FB
analogous
#FBB580 #FBF280 #C7FB80
triadic
#FBF280 #80FBF2 #F280FB
tetradic
#FBF280 #80FBB5 #8089FB #FB80C7
square
#FBF280 #80FBB5 #8089FB #FB80C7
split-complementary
#FBF280 #80C7FB #B580FB
monochromatic
#F7E609 #F9EC45 #FBF280 #FDF8BB #FEFCE1

Accessibility & contrast

On white

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

On black

18.11
#FBF280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF280
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF280#FFFFFF#000000##000000
##FBF2801.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB76
Deuteranopia (green-blind)
#FFF185
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf280;
/* rgb */ color: rgb(251, 242, 128);
/* oklch */ color: oklch(94.5% 0.136 104.7);
Tailwind
colors: {
  custom: {
    50: '#fff6a7',
    500: '#fbf280',
    950: '#000000',
  },
}
SCSS
$custom: #fbf280;
$custom-light: #fff6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf280",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 128
  },
  "hsl": {
    "h": 55.61,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.94531,
    "c": 0.1362,
    "h": 104.7
  },
  "luminance": 0.85572
}

Semantic roles & 50–950 ramp

primary
#FBF280
secondary
#4651D9
accent
#11E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FBF280

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

Preview Lab → · Contrast checker → · Palette generator →

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