#FBF775#FBF775

#FBF775 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.4% C 0.151 H 107.3°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#FBF775
RGBrgb(251, 247, 117)
HSLhsl(58, 94%, 72%)
HSVhsv(58, 53%, 98%)
CMYKcmyk(0%, 1.6%, 53.4%, 1.6%)
CIE-LABlab(95.29, -15.11, 61.95)
CIE-LCHlch(95.29, 63.77, 103.71°)
OKLaboklab(95.42% -0.0451 0.1446)
OKLCHoklch(95.42% 0.151 107.3)
XYZxyz(76.2574, 88.3173, 29.8561)
Luminance0.8831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF775 #7579FB
analogous
#FBB475 #FBF775 #BCFB75
triadic
#FBF775 #75FBF7 #F775FB
tetradic
#FBF775 #75FBB4 #7579FB #FB75BC
square
#FBF775 #75FBB4 #7579FB #FB75BC
split-complementary
#FBF775 #75BCFB #B475FB
monochromatic
#EFE807 #F9F43A #FBF775 #FDFAB0 #FEFDE1

Accessibility & contrast

On white

1.13
#FBF775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#FBF775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF775
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF775#FFFFFF#000000##000000
##FBF7751.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF68
Deuteranopia (green-blind)
#FFF47C
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf775;
/* rgb */ color: rgb(251, 247, 117);
/* oklch */ color: oklch(95.4% 0.151 107.3);
Tailwind
colors: {
  custom: {
    50: '#fff9a0',
    500: '#fbf775',
    950: '#000000',
  },
}
SCSS
$custom: #fbf775;
$custom-light: #fff9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf775",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 117
  },
  "hsl": {
    "h": 58.209,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9542,
    "c": 0.15144,
    "h": 107.3
  },
  "luminance": 0.88315
}

Semantic roles & 50–950 ramp

primary
#FBF775
secondary
#3D41D7
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF775

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

Preview Lab → · Contrast checker → · Palette generator →

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