#FBF182#FBF182

#FBF182 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.4% C 0.133 H 104.0°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#FBF182
RGBrgb(251, 241, 130)
HSLhsl(55, 94%, 75%)
HSVhsv(55, 48%, 98%)
CMYKcmyk(0%, 4%, 48.2%, 1.6%)
CIE-LABlab(93.90, -11.10, 54.38)
CIE-LCHlch(93.90, 55.50, 101.54°)
OKLaboklab(94.35% -0.0323 0.1293)
OKLCHoklch(94.35% 0.133 104)
XYZxyz(75.2702, 85.0338, 33.5630)
Luminance0.8503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF182 #828CFB
analogous
#FBB482 #FBF182 #C9FB82
triadic
#FBF182 #82FBF1 #F182FB
tetradic
#FBF182 #82FBB4 #828CFB #FB82C9
square
#FBF182 #82FBB4 #828CFB #FB82C9
split-complementary
#FBF182 #82C9FB #B482FB
monochromatic
#F7E40B #F9EA47 #FBF182 #FDF8BD #FEFCE1

Accessibility & contrast

On white

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

On black

18.01
#FBF182 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF182
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF182#FFFFFF#000000##000000
##FBF1821.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf182;
/* rgb */ color: rgb(251, 241, 130);
/* oklch */ color: oklch(94.4% 0.133 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff5a8',
    500: '#fbf182',
    950: '#000000',
  },
}
SCSS
$custom: #fbf182;
$custom-light: #fff5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf182",
  "rgb": {
    "r": 251,
    "g": 241,
    "b": 130
  },
  "hsl": {
    "h": 55.041,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.94354,
    "c": 0.13326,
    "h": 104
  },
  "luminance": 0.85032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF182

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

Preview Lab → · Contrast checker → · Palette generator →

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