#FBF282#FBF282

#FBF282 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.6% C 0.134 H 104.6°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#FBF282
RGBrgb(251, 242, 130)
HSLhsl(56, 94%, 75%)
HSVhsv(56, 48%, 98%)
CMYKcmyk(0%, 3.6%, 48.2%, 1.6%)
CIE-LABlab(94.15, -11.60, 54.68)
CIE-LCHlch(94.15, 55.90, 101.97°)
OKLaboklab(94.56% -0.0338 0.1299)
OKLCHoklch(94.56% 0.134 104.6)
XYZxyz(75.5670, 85.6274, 33.6619)
Luminance0.8562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF282 #828BFB
analogous
#FBB682 #FBF282 #C8FB82
triadic
#FBF282 #82FBF2 #F282FB
tetradic
#FBF282 #82FBB6 #828BFB #FB82C8
square
#FBF282 #82FBB6 #828BFB #FB82C8
split-complementary
#FBF282 #82C8FB #B682FB
monochromatic
#F7E60B #F9EC47 #FBF282 #FDF8BD #FEFCE1

Accessibility & contrast

On white

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

On black

18.13
#FBF282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF282
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF282#FFFFFF#000000##000000
##FBF2821.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf282;
/* rgb */ color: rgb(251, 242, 130);
/* oklch */ color: oklch(94.6% 0.134 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff6a9',
    500: '#fbf282',
    950: '#000000',
  },
}
SCSS
$custom: #fbf282;
$custom-light: #fff6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf282",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 130
  },
  "hsl": {
    "h": 55.537,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94557,
    "c": 0.13426,
    "h": 104.6
  },
  "luminance": 0.85625
}

Semantic roles & 50–950 ramp

primary
#FBF282
secondary
#4853D9
accent
#11E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF282

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

Preview Lab → · Contrast checker → · Palette generator →

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