#FBE481#FBE481

#FBE481 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.7% C 0.122 H 96.6°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#FBE481
RGBrgb(251, 228, 129)
HSLhsl(49, 94%, 75%)
HSVhsv(49, 49%, 98%)
CMYKcmyk(0%, 9.2%, 48.6%, 1.6%)
CIE-LABlab(90.59, -4.72, 50.84)
CIE-LCHlch(90.59, 51.06, 95.30°)
OKLaboklab(91.73% -0.014 0.1214)
OKLCHoklch(91.73% 0.122 96.6)
XYZxyz(71.4917, 77.5838, 31.9740)
Luminance0.7758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE481 #8198FB
analogous
#FBA781 #FBE481 #D5FB81
triadic
#FBE481 #81FBE4 #E481FB
tetradic
#FBE481 #81FBA7 #8198FB #FB81D5
square
#FBE481 #81FBA7 #8198FB #FB81D5
split-complementary
#FBE481 #81D5FB #A781FB
monochromatic
#F7CB0A #F9D746 #FBE481 #FDF1BC #FEF9E1

Accessibility & contrast

On white

1.27
#FBE481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#FBE481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE481
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE481#FFFFFF#000000##000000
##FBE4811.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E079
Deuteranopia (green-blind)
#FCE785
Tritanopia (blue-blind)
#FFD7CD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fbe481;
/* rgb */ color: rgb(251, 228, 129);
/* oklch */ color: oklch(91.7% 0.122 96.6);
Tailwind
colors: {
  custom: {
    50: '#ffeca7',
    500: '#fbe481',
    950: '#000000',
  },
}
SCSS
$custom: #fbe481;
$custom-light: #ffeca7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe481",
  "rgb": {
    "r": 251,
    "g": 228,
    "b": 129
  },
  "hsl": {
    "h": 48.689,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91728,
    "c": 0.1222,
    "h": 96.6
  },
  "luminance": 0.77581
}

Semantic roles & 50–950 ramp

primary
#FBE481
secondary
#4763D9
accent
#2BE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #FBE481

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

Preview Lab → · Contrast checker → · Palette generator →

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