#FBF470#FBF470

#FBF470 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.8% C 0.153 H 106.2°. Best body text is #000000 at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#FBF470
RGBrgb(251, 244, 112)
HSLhsl(57, 95%, 71%)
HSVhsv(57, 55%, 98%)
CMYKcmyk(0%, 2.8%, 55.4%, 1.6%)
CIE-LABlab(94.48, -14.03, 63.22)
CIE-LCHlch(94.48, 64.76, 102.51°)
OKLaboklab(94.75% -0.0425 0.1468)
OKLCHoklch(94.75% 0.153 106.2)
XYZxyz(75.0612, 86.3828, 28.0457)
Luminance0.8638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF470 #7077FB
analogous
#FBAE70 #FBF470 #BCFB70
triadic
#FBF470 #70FBF4 #F470FB
tetradic
#FBF470 #70FBAE #7077FB #FB70BC
square
#FBF470 #70FBAE #7077FB #FB70BC
split-complementary
#FBF470 #70BCFB #AE70FB
monochromatic
#EADF07 #F9EF34 #FBF470 #FDF9AC #FEFDE1

Accessibility & contrast

On white

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

On black

18.28
#FBF470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF470
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF470#FFFFFF#000000##000000
##FBF4701.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFF277
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf470;
/* rgb */ color: rgb(251, 244, 112);
/* oklch */ color: oklch(94.8% 0.153 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff79d',
    500: '#fbf470',
    950: '#000000',
  },
}
SCSS
$custom: #fbf470;
$custom-light: #fff79d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf470",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 112
  },
  "hsl": {
    "h": 56.978,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94753,
    "c": 0.15279,
    "h": 106.2
  },
  "luminance": 0.8638
}

Semantic roles & 50–950 ramp

primary
#FBF470
secondary
#3941D7
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF470

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

Preview Lab → · Contrast checker → · Palette generator →

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