#FBE477#FBE477

#FBE477 is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.6% C 0.132 H 97.6°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#FBE477
RGBrgb(251, 228, 119)
HSLhsl(50, 94%, 73%)
HSVhsv(50, 53%, 98%)
CMYKcmyk(0%, 9.2%, 52.6%, 1.6%)
CIE-LABlab(90.47, -5.56, 55.43)
CIE-LCHlch(90.47, 55.70, 95.73°)
OKLaboklab(91.6% -0.0175 0.1306)
OKLCHoklch(91.6% 0.132 97.6)
XYZxyz(70.8593, 77.3308, 28.6430)
Luminance0.7733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE477 #778EFB
analogous
#FBA277 #FBE477 #D0FB77
triadic
#FBE477 #77FBE4 #E477FB
tetradic
#FBE477 #77FBA2 #778EFB #FB77D0
square
#FBE477 #77FBA2 #778EFB #FB77D0
split-complementary
#FBE477 #77D0FB #A277FB
monochromatic
#F1C807 #F9D83C #FBE477 #FDF0B2 #FEF9E1

Accessibility & contrast

On white

1.28
#FBE477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#FBE477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE477
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE477#FFFFFF#000000##000000
##FBE4771.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF6D
Deuteranopia (green-blind)
#FDE77C
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fbe477;
/* rgb */ color: rgb(251, 228, 119);
/* oklch */ color: oklch(91.6% 0.132 97.6);
Tailwind
colors: {
  custom: {
    50: '#ffeca1',
    500: '#fbe477',
    950: '#000000',
  },
}
SCSS
$custom: #fbe477;
$custom-light: #ffeca1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe477",
  "rgb": {
    "r": 251,
    "g": 228,
    "b": 119
  },
  "hsl": {
    "h": 49.545,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91599,
    "c": 0.13179,
    "h": 97.6
  },
  "luminance": 0.77328
}

Semantic roles & 50–950 ramp

primary
#FBE477
secondary
#3F59D8
accent
#28E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FBE477

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

Preview Lab → · Contrast checker → · Palette generator →

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