#FBF181#FBF181

#FBF181 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.134 H 104.1°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#FBF181
RGBrgb(251, 241, 129)
HSLhsl(55, 94%, 75%)
HSVhsv(55, 49%, 98%)
CMYKcmyk(0%, 4%, 48.6%, 1.6%)
CIE-LABlab(93.89, -11.19, 54.83)
CIE-LCHlch(93.89, 55.96, 101.54°)
OKLaboklab(94.34% -0.0327 0.1302)
OKLCHoklch(94.34% 0.134 104.1)
XYZxyz(75.2034, 85.0071, 33.2112)
Luminance0.8500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF181 #818BFB
analogous
#FBB481 #FBF181 #C8FB81
triadic
#FBF181 #81FBF1 #F181FB
tetradic
#FBF181 #81FBB4 #818BFB #FB81C8
square
#FBF181 #81FBB4 #818BFB #FB81C8
split-complementary
#FBF181 #81C8FB #B481FB
monochromatic
#F7E40A #F9EA46 #FBF181 #FDF8BC #FEFCE1

Accessibility & contrast

On white

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

On black

18.00
#FBF181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF181
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF181#FFFFFF#000000##000000
##FBF1811.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA77
Deuteranopia (green-blind)
#FFF086
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf181;
/* rgb */ color: rgb(251, 241, 129);
/* oklch */ color: oklch(94.3% 0.134 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff5a8',
    500: '#fbf181',
    950: '#000000',
  },
}
SCSS
$custom: #fbf181;
$custom-light: #fff5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf181",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 129
  },
  "hsl": {
    "h": 55.082,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.94341,
    "c": 0.13423,
    "h": 104.1
  },
  "luminance": 0.85005
}

Semantic roles & 50–950 ramp

primary
#FBF181
secondary
#4753D9
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FBF181

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

Preview Lab → · Contrast checker → · Palette generator →

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