#FBE478#FBE478

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

Color values

HEX#FBE478
RGBrgb(251, 228, 120)
HSLhsl(49, 94%, 73%)
HSVhsv(49, 52%, 98%)
CMYKcmyk(0%, 9.2%, 52.2%, 1.6%)
CIE-LABlab(90.48, -5.48, 54.97)
CIE-LCHlch(90.48, 55.25, 95.70°)
OKLaboklab(91.61% -0.0172 0.1297)
OKLCHoklch(91.61% 0.131 97.6)
XYZxyz(70.9196, 77.3550, 28.9610)
Luminance0.7735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE478 #788FFB
analogous
#FBA378 #FBE478 #D0FB78
triadic
#FBE478 #78FBE4 #E478FB
tetradic
#FBE478 #78FBA3 #788FFB #FB78D0
square
#FBE478 #78FBA3 #788FFB #FB78D0
split-complementary
#FBE478 #78D0FB #A378FB
monochromatic
#F1C807 #F9D83D #FBE478 #FDF0B3 #FEF9E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBE478#FFFFFF#000000##000000
##FBE4781.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)
#F6DF6E
Deuteranopia (green-blind)
#FDE77D
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fbe478;
/* rgb */ color: rgb(251, 228, 120);
/* oklch */ color: oklch(91.6% 0.131 97.6);
Tailwind
colors: {
  custom: {
    50: '#ffeca1',
    500: '#fbe478',
    950: '#000000',
  },
}
SCSS
$custom: #fbe478;
$custom-light: #ffeca1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe478",
  "rgb": {
    "r": 251,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 49.466,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91611,
    "c": 0.13086,
    "h": 97.6
  },
  "luminance": 0.77352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBE478

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

Preview Lab → · Contrast checker → · Palette generator →

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