#FBE474#FBE474

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

Color values

HEX#FBE474
RGBrgb(251, 228, 116)
HSLhsl(50, 94%, 72%)
HSVhsv(50, 54%, 98%)
CMYKcmyk(0%, 9.2%, 53.8%, 1.6%)
CIE-LABlab(90.44, -5.80, 56.78)
CIE-LCHlch(90.44, 57.07, 95.84°)
OKLaboklab(91.56% -0.0186 0.1333)
OKLCHoklch(91.56% 0.135 97.9)
XYZxyz(70.6819, 77.2599, 27.7091)
Luminance0.7726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE474 #748BFB
analogous
#FBA174 #FBE474 #CEFB74
triadic
#FBE474 #74FBE4 #E474FB
tetradic
#FBE474 #74FBA1 #748BFB #FB74CE
square
#FBE474 #74FBA1 #748BFB #FB74CE
split-complementary
#FBE474 #74CEFB #A174FB
monochromatic
#EEC607 #F9D839 #FBE474 #FDF0AF #FEF9E1

Accessibility & contrast

On white

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

On black

16.45
#FBE474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE474
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE474#FFFFFF#000000##000000
##FBE4741.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbe474;
/* rgb */ color: rgb(251, 228, 116);
/* oklch */ color: oklch(91.6% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#ffec9f',
    500: '#fbe474',
    950: '#000000',
  },
}
SCSS
$custom: #fbe474;
$custom-light: #ffec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe474",
  "rgb": {
    "r": 251,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 49.778,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91563,
    "c": 0.13456,
    "h": 97.9
  },
  "luminance": 0.77257
}

Semantic roles & 50–950 ramp

primary
#FBE474
secondary
#3C56D7
accent
#27E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FBE474

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

Preview Lab → · Contrast checker → · Palette generator →

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