#FBF774#FBF774

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

Color values

HEX#FBF774
RGBrgb(251, 247, 116)
HSLhsl(58, 94%, 72%)
HSVhsv(58, 54%, 98%)
CMYKcmyk(0%, 1.6%, 53.8%, 1.6%)
CIE-LABlab(95.28, -15.19, 62.38)
CIE-LCHlch(95.28, 64.21, 103.68°)
OKLaboklab(95.41% -0.0454 0.1454)
OKLCHoklch(95.41% 0.152 107.4)
XYZxyz(76.1989, 88.2939, 29.5481)
Luminance0.8829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF774 #7478FB
analogous
#FBB474 #FBF774 #BCFB74
triadic
#FBF774 #74FBF7 #F774FB
tetradic
#FBF774 #74FBB4 #7478FB #FB74BC
square
#FBF774 #74FBB4 #7478FB #FB74BC
split-complementary
#FBF774 #74BCFB #B474FB
monochromatic
#EEE707 #F9F439 #FBF774 #FDFAAF #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF774#FFFFFF#000000##000000
##FBF7741.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)
#FFEF67
Deuteranopia (green-blind)
#FFF47B
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf774;
/* rgb */ color: rgb(251, 247, 116);
/* oklch */ color: oklch(95.4% 0.152 107.4);
Tailwind
colors: {
  custom: {
    50: '#fff9a0',
    500: '#fbf774',
    950: '#000000',
  },
}
SCSS
$custom: #fbf774;
$custom-light: #fff9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf774",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 116
  },
  "hsl": {
    "h": 58.222,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95409,
    "c": 0.15232,
    "h": 107.4
  },
  "luminance": 0.88292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF774

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

Preview Lab → · Contrast checker → · Palette generator →

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