#FBF678#FBF678

#FBF678 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.2% C 0.148 H 106.8°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#FBF678
RGBrgb(251, 246, 120)
HSLhsl(58, 94%, 73%)
HSVhsv(58, 52%, 98%)
CMYKcmyk(0%, 2%, 52.2%, 1.6%)
CIE-LABlab(95.07, -14.39, 60.35)
CIE-LCHlch(95.07, 62.04, 103.41°)
OKLaboklab(95.25% -0.0428 0.1414)
OKLCHoklch(95.25% 0.148 106.8)
XYZxyz(76.1317, 87.7790, 30.6983)
Luminance0.8778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF678 #787DFB
analogous
#FBB478 #FBF678 #BEFB78
triadic
#FBF678 #78FBF6 #F678FB
tetradic
#FBF678 #78FBB4 #787DFB #FB78BE
square
#FBF678 #78FBB4 #787DFB #FB78BE
split-complementary
#FBF678 #78BEFB #B478FB
monochromatic
#F1E907 #F9F23D #FBF678 #FDFAB3 #FEFDE1

Accessibility & contrast

On white

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

On black

18.56
#FBF678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF678
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF678#FFFFFF#000000##000000
##FBF6781.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFF37E
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf678;
/* rgb */ color: rgb(251, 246, 120);
/* oklch */ color: oklch(95.2% 0.148 106.8);
Tailwind
colors: {
  custom: {
    50: '#fff9a2',
    500: '#fbf678',
    950: '#000000',
  },
}
SCSS
$custom: #fbf678;
$custom-light: #fff9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf678",
  "rgb": {
    "r": 251,
    "g": 246,
    "b": 120
  },
  "hsl": {
    "h": 57.71,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95249,
    "c": 0.14773,
    "h": 106.8
  },
  "luminance": 0.87777
}

Semantic roles & 50–950 ramp

primary
#FBF678
secondary
#3F45D8
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF678

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

Preview Lab → · Contrast checker → · Palette generator →

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