#FBF478#FBF478

#FBF478 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.8% C 0.146 H 105.9°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#FBF478
RGBrgb(251, 244, 120)
HSLhsl(57, 94%, 73%)
HSVhsv(57, 52%, 98%)
CMYKcmyk(0%, 2.8%, 52.2%, 1.6%)
CIE-LABlab(94.56, -13.41, 59.76)
CIE-LCHlch(94.56, 61.24, 102.65°)
OKLaboklab(94.84% -0.04 0.1401)
OKLCHoklch(94.84% 0.146 105.9)
XYZxyz(75.5266, 86.5689, 30.4966)
Luminance0.8657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF478 #787FFB
analogous
#FBB278 #FBF478 #C0FB78
triadic
#FBF478 #78FBF4 #F478FB
tetradic
#FBF478 #78FBB2 #787FFB #FB78C0
square
#FBF478 #78FBB2 #787FFB #FB78C0
split-complementary
#FBF478 #78C0FB #B278FB
monochromatic
#F1E507 #F9EF3D #FBF478 #FDF9B3 #FEFDE1

Accessibility & contrast

On white

1.15
#FBF478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#FBF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF478
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF478#FFFFFF#000000##000000
##FBF4781.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFF27E
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf478;
/* rgb */ color: rgb(251, 244, 120);
/* oklch */ color: oklch(94.8% 0.146 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff7a2',
    500: '#fbf478',
    950: '#000000',
  },
}
SCSS
$custom: #fbf478;
$custom-light: #fff7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf478",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 56.794,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94841,
    "c": 0.14571,
    "h": 105.9
  },
  "luminance": 0.86567
}

Semantic roles & 50–950 ramp

primary
#FBF478
secondary
#3F48D8
accent
#0CE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF478

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

Preview Lab → · Contrast checker → · Palette generator →

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