#FBF281#FBF281

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

Color values

HEX#FBF281
RGBrgb(251, 242, 129)
HSLhsl(56, 94%, 75%)
HSVhsv(56, 49%, 98%)
CMYKcmyk(0%, 3.6%, 48.6%, 1.6%)
CIE-LABlab(94.14, -11.68, 55.14)
CIE-LCHlch(94.14, 56.36, 101.97°)
OKLaboklab(94.54% -0.0341 0.1309)
OKLCHoklch(94.54% 0.135 104.6)
XYZxyz(75.5002, 85.6007, 33.3101)
Luminance0.8560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF281 #818AFB
analogous
#FBB581 #FBF281 #C7FB81
triadic
#FBF281 #81FBF2 #F281FB
tetradic
#FBF281 #81FBB5 #818AFB #FB81C7
square
#FBF281 #81FBB5 #818AFB #FB81C7
split-complementary
#FBF281 #81C7FB #B581FB
monochromatic
#F7E60A #F9EC46 #FBF281 #FDF8BC #FEFCE1

Accessibility & contrast

On white

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

On black

18.12
#FBF281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF281
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF281#FFFFFF#000000##000000
##FBF2811.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf281;
/* rgb */ color: rgb(251, 242, 129);
/* oklch */ color: oklch(94.5% 0.135 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff6a8',
    500: '#fbf281',
    950: '#000000',
  },
}
SCSS
$custom: #fbf281;
$custom-light: #fff6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf281",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 55.574,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.94544,
    "c": 0.13523,
    "h": 104.6
  },
  "luminance": 0.85598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF281

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

Preview Lab → · Contrast checker → · Palette generator →

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