#FBF081#FBF081

#FBF081 is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.1% C 0.133 H 103.6°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#FBF081
RGBrgb(251, 240, 129)
HSLhsl(55, 94%, 75%)
HSVhsv(55, 49%, 98%)
CMYKcmyk(0%, 4.4%, 48.6%, 1.6%)
CIE-LABlab(93.63, -10.70, 54.52)
CIE-LCHlch(93.63, 55.56, 101.10°)
OKLaboklab(94.14% -0.0313 0.1295)
OKLCHoklch(94.14% 0.133 103.6)
XYZxyz(74.9082, 84.4167, 33.1128)
Luminance0.8441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF081 #818CFB
analogous
#FBB381 #FBF081 #C9FB81
triadic
#FBF081 #81FBF0 #F081FB
tetradic
#FBF081 #81FBB3 #818CFB #FB81C9
square
#FBF081 #81FBB3 #818CFB #FB81C9
split-complementary
#FBF081 #81C9FB #B381FB
monochromatic
#F7E20A #F9E946 #FBF081 #FDF7BC #FEFBE1

Accessibility & contrast

On white

1.17
#FBF081 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#FBF081 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF081
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF081#FFFFFF#000000##000000
##FBF0811.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE977
Deuteranopia (green-blind)
#FFEF86
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf081;
/* rgb */ color: rgb(251, 240, 129);
/* oklch */ color: oklch(94.1% 0.133 103.6);
Tailwind
colors: {
  custom: {
    50: '#fff4a8',
    500: '#fbf081',
    950: '#000000',
  },
}
SCSS
$custom: #fbf081;
$custom-light: #fff4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf081",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 129
  },
  "hsl": {
    "h": 54.59,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.94139,
    "c": 0.13324,
    "h": 103.6
  },
  "luminance": 0.84414
}

Semantic roles & 50–950 ramp

primary
#FBF081
secondary
#4754D9
accent
#15E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF081

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

Preview Lab → · Contrast checker → · Palette generator →

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