#FBE178#FBE178

#FBE178 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 91.0% C 0.128 H 95.7°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#FBE178
RGBrgb(251, 225, 120)
HSLhsl(48, 94%, 73%)
HSVhsv(48, 52%, 98%)
CMYKcmyk(0%, 10.4%, 52.2%, 1.6%)
CIE-LABlab(89.73, -3.98, 54.07)
CIE-LCHlch(89.73, 54.22, 94.20°)
OKLaboklab(91.01% -0.0128 0.1278)
OKLCHoklch(91.01% 0.128 95.7)
XYZxyz(70.1015, 75.7187, 28.6883)
Luminance0.7572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE178 #7892FB
analogous
#FBA078 #FBE178 #D3FB78
triadic
#FBE178 #78FBE1 #E178FB
tetradic
#FBE178 #78FBA0 #7892FB #FB78D3
square
#FBE178 #78FBA0 #7892FB #FB78D3
split-complementary
#FBE178 #78D3FB #A078FB
monochromatic
#F1C307 #F9D43D #FBE178 #FDEEB3 #FEF8E1

Accessibility & contrast

On white

1.30
#FBE178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.14
#FBE178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE178
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE178#FFFFFF#000000##000000
##FBE1781.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6F
Deuteranopia (green-blind)
#FAE57C
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #fbe178;
/* rgb */ color: rgb(251, 225, 120);
/* oklch */ color: oklch(91.0% 0.128 95.7);
Tailwind
colors: {
  custom: {
    50: '#ffeaa1',
    500: '#fbe178',
    950: '#000000',
  },
}
SCSS
$custom: #fbe178;
$custom-light: #ffeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe178",
  "rgb": {
    "r": 251,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 48.092,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91013,
    "c": 0.1284,
    "h": 95.7
  },
  "luminance": 0.75716
}

Semantic roles & 50–950 ramp

primary
#FBE178
secondary
#3F5ED8
accent
#2EE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #FBE178

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

Preview Lab → · Contrast checker → · Palette generator →

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