#FBE781#FBE781

#FBE781 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.3% C 0.125 H 98.5°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#FBE781
RGBrgb(251, 231, 129)
HSLhsl(50, 94%, 75%)
HSVhsv(50, 49%, 98%)
CMYKcmyk(0%, 8%, 48.6%, 1.6%)
CIE-LABlab(91.35, -6.22, 51.76)
CIE-LCHlch(91.35, 52.13, 96.86°)
OKLaboklab(92.33% -0.0184 0.1234)
OKLCHoklch(92.33% 0.125 98.5)
XYZxyz(72.3242, 79.2487, 32.2514)
Luminance0.7925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE781 #8195FB
analogous
#FBAA81 #FBE781 #D2FB81
triadic
#FBE781 #81FBE7 #E781FB
tetradic
#FBE781 #81FBAA #8195FB #FB81D2
square
#FBE781 #81FBAA #8195FB #FB81D2
split-complementary
#FBE781 #81D2FB #AA81FB
monochromatic
#F7D00A #F9DC46 #FBE781 #FDF2BC #FEF9E1

Accessibility & contrast

On white

1.25
#FBE781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#FBE781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE781
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE781#FFFFFF#000000##000000
##FBE7811.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E278
Deuteranopia (green-blind)
#FEE985
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fbe781;
/* rgb */ color: rgb(251, 231, 129);
/* oklch */ color: oklch(92.3% 0.125 98.5);
Tailwind
colors: {
  custom: {
    50: '#ffeea7',
    500: '#fbe781',
    950: '#000000',
  },
}
SCSS
$custom: #fbe781;
$custom-light: #ffeea7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe781",
  "rgb": {
    "r": 251,
    "g": 231,
    "b": 129
  },
  "hsl": {
    "h": 50.164,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92328,
    "c": 0.12479,
    "h": 98.5
  },
  "luminance": 0.79246
}

Semantic roles & 50–950 ramp

primary
#FBE781
secondary
#475FD9
accent
#26E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #FBE781

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

Preview Lab → · Contrast checker → · Palette generator →

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