#FBF47B#FBF47B

#FBF47B is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.9% C 0.143 H 105.8°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#FBF47B
RGBrgb(251, 244, 123)
HSLhsl(57, 94%, 73%)
HSVhsv(57, 51%, 98%)
CMYKcmyk(0%, 2.8%, 51%, 1.6%)
CIE-LABlab(94.59, -13.17, 58.43)
CIE-LCHlch(94.59, 59.90, 102.70°)
OKLaboklab(94.88% -0.039 0.1375)
OKLCHoklch(94.88% 0.143 105.8)
XYZxyz(75.7115, 86.6429, 31.4706)
Luminance0.8664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF47B #7B82FB
analogous
#FBB47B #FBF47B #C2FB7B
triadic
#FBF47B #7BFBF4 #F47BFB
tetradic
#FBF47B #7BFBB4 #7B82FB #FB7BC2
square
#FBF47B #7BFBB4 #7B82FB #FB7BC2
split-complementary
#FBF47B #7BC2FB #B47BFB
monochromatic
#F4E707 #F9EF40 #FBF47B #FDF9B6 #FEFDE1

Accessibility & contrast

On white

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

On black

18.33
#FBF47B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF47B
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF47B#FFFFFF#000000##000000
##FBF47B1.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC70
Deuteranopia (green-blind)
#FFF281
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf47b;
/* rgb */ color: rgb(251, 244, 123);
/* oklch */ color: oklch(94.9% 0.143 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff7a4',
    500: '#fbf47b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf47b;
$custom-light: #fff7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf47b",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 123
  },
  "hsl": {
    "h": 56.719,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94877,
    "c": 0.14294,
    "h": 105.8
  },
  "luminance": 0.86641
}

Semantic roles & 50–950 ramp

primary
#FBF47B
secondary
#424AD8
accent
#0DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF47B

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

Preview Lab → · Contrast checker → · Palette generator →

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