#FBF472#FBF472

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

Color values

HEX#FBF472
RGBrgb(251, 244, 114)
HSLhsl(57, 94%, 72%)
HSVhsv(57, 55%, 98%)
CMYKcmyk(0%, 2.8%, 54.6%, 1.6%)
CIE-LABlab(94.50, -13.88, 62.37)
CIE-LCHlch(94.50, 63.89, 102.54°)
OKLaboklab(94.77% -0.0419 0.1451)
OKLCHoklch(94.77% 0.151 106.1)
XYZxyz(75.1738, 86.4278, 28.6387)
Luminance0.8643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF472 #7279FB
analogous
#FBB072 #FBF472 #BEFB72
triadic
#FBF472 #72FBF4 #F472FB
tetradic
#FBF472 #72FBB0 #7279FB #FB72BE
square
#FBF472 #72FBB0 #7279FB #FB72BE
split-complementary
#FBF472 #72BEFB #B072FB
monochromatic
#ECE007 #F9EF36 #FBF472 #FDF9AE #FEFDE1

Accessibility & contrast

On white

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

On black

18.29
#FBF472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF472
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF472#FFFFFF#000000##000000
##FBF4721.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbf472;
/* rgb */ color: rgb(251, 244, 114);
/* oklch */ color: oklch(94.8% 0.151 106.1);
Tailwind
colors: {
  custom: {
    50: '#fff79e',
    500: '#fbf472',
    950: '#000000',
  },
}
SCSS
$custom: #fbf472;
$custom-light: #fff79e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf472",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 114
  },
  "hsl": {
    "h": 56.934,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94774,
    "c": 0.15106,
    "h": 106.1
  },
  "luminance": 0.86426
}

Semantic roles & 50–950 ramp

primary
#FBF472
secondary
#3A42D7
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF472

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

Preview Lab → · Contrast checker → · Palette generator →

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