#FBE581#FBE581

#FBE581 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.9% C 0.123 H 97.2°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#FBE581
RGBrgb(251, 229, 129)
HSLhsl(49, 94%, 75%)
HSVhsv(49, 49%, 98%)
CMYKcmyk(0%, 8.8%, 48.6%, 1.6%)
CIE-LABlab(90.84, -5.22, 51.15)
CIE-LCHlch(90.84, 51.41, 95.83°)
OKLaboklab(91.93% -0.0155 0.1221)
OKLCHoklch(91.93% 0.123 97.2)
XYZxyz(71.7676, 78.1356, 32.0659)
Luminance0.7813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE581 #8197FB
analogous
#FBA881 #FBE581 #D4FB81
triadic
#FBE581 #81FBE5 #E581FB
tetradic
#FBE581 #81FBA8 #8197FB #FB81D4
square
#FBE581 #81FBA8 #8197FB #FB81D4
split-complementary
#FBE581 #81D4FB #A881FB
monochromatic
#F7CD0A #F9D946 #FBE581 #FDF1BC #FEF9E1

Accessibility & contrast

On white

1.26
#FBE581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#FBE581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE581
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE581#FFFFFF#000000##000000
##FBE5811.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E078
Deuteranopia (green-blind)
#FDE885
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #fbe581;
/* rgb */ color: rgb(251, 229, 129);
/* oklch */ color: oklch(91.9% 0.123 97.2);
Tailwind
colors: {
  custom: {
    50: '#ffeda7',
    500: '#fbe581',
    950: '#000000',
  },
}
SCSS
$custom: #fbe581;
$custom-light: #ffeda7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe581",
  "rgb": {
    "r": 251,
    "g": 229,
    "b": 129
  },
  "hsl": {
    "h": 49.18,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91928,
    "c": 0.12305,
    "h": 97.2
  },
  "luminance": 0.78133
}

Semantic roles & 50–950 ramp

primary
#FBE581
secondary
#4762D9
accent
#29E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #FBE581

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

Preview Lab → · Contrast checker → · Palette generator →

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