#FBF770#FBF770

#FBF770 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.4% C 0.156 H 107.4°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#FBF770
RGBrgb(251, 247, 112)
HSLhsl(58, 95%, 71%)
HSVhsv(58, 55%, 98%)
CMYKcmyk(0%, 1.6%, 55.4%, 1.6%)
CIE-LABlab(95.25, -15.49, 64.09)
CIE-LCHlch(95.25, 65.94, 103.58°)
OKLaboklab(95.37% -0.0467 0.1486)
OKLCHoklch(95.37% 0.156 107.4)
XYZxyz(75.9713, 88.2028, 28.3490)
Luminance0.8820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF770 #7074FB
analogous
#FBB170 #FBF770 #B9FB70
triadic
#FBF770 #70FBF7 #F770FB
tetradic
#FBF770 #70FBB1 #7074FB #FB70B9
square
#FBF770 #70FBB1 #7074FB #FB70B9
split-complementary
#FBF770 #70B9FB #B170FB
monochromatic
#EAE407 #F9F434 #FBF770 #FDFAAC #FEFDE1

Accessibility & contrast

On white

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

On black

18.64
#FBF770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF770
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF770#FFFFFF#000000##000000
##FBF7701.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE62
Deuteranopia (green-blind)
#FFF477
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf770;
/* rgb */ color: rgb(251, 247, 112);
/* oklch */ color: oklch(95.4% 0.156 107.4);
Tailwind
colors: {
  custom: {
    50: '#fff99d',
    500: '#fbf770',
    950: '#000000',
  },
}
SCSS
$custom: #fbf770;
$custom-light: #fff99d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf770",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 112
  },
  "hsl": {
    "h": 58.273,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95366,
    "c": 0.15579,
    "h": 107.4
  },
  "luminance": 0.88201
}

Semantic roles & 50–950 ramp

primary
#FBF770
secondary
#393DD7
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF770

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

Preview Lab → · Contrast checker → · Palette generator →

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