#FBF974#FBF974

#FBF974 is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.8% C 0.154 H 108.2°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#FBF974
RGBrgb(251, 249, 116)
HSLhsl(59, 94%, 72%)
HSVhsv(59, 54%, 98%)
CMYKcmyk(0%, 0.8%, 53.8%, 1.6%)
CIE-LABlab(95.80, -16.16, 62.97)
CIE-LCHlch(95.80, 65.01, 104.39°)
OKLaboklab(95.82% -0.0482 0.1467)
OKLCHoklch(95.82% 0.154 108.2)
XYZxyz(76.8138, 89.5236, 29.7531)
Luminance0.8952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF974 #7476FB
analogous
#FBB674 #FBF974 #BAFB74
triadic
#FBF974 #74FBF9 #F974FB
tetradic
#FBF974 #74FBB6 #7476FB #FB74BA
square
#FBF974 #74FBB6 #7476FB #FB74BA
split-complementary
#FBF974 #74BAFB #B674FB
monochromatic
#EEEA07 #F9F639 #FBF974 #FDFCAF #FEFEE1

Accessibility & contrast

On white

1.11
#FBF974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.90
#FBF974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF974
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF974#FFFFFF#000000##000000
##FBF9741.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF067
Deuteranopia (green-blind)
#FFF57B
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf974;
/* rgb */ color: rgb(251, 249, 116);
/* oklch */ color: oklch(95.8% 0.154 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffba0',
    500: '#fbf974',
    950: '#000000',
  },
}
SCSS
$custom: #fbf974;
$custom-light: #fffba0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf974",
  "rgb": {
    "r": 251,
    "g": 249,
    "b": 116
  },
  "hsl": {
    "h": 59.111,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95819,
    "c": 0.15437,
    "h": 108.2
  },
  "luminance": 0.89522
}

Semantic roles & 50–950 ramp

primary
#FBF974
secondary
#3C3ED7
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF974

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

Preview Lab → · Contrast checker → · Palette generator →

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