#FBF673#FBF673

#FBF673 is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.2% C 0.152 H 107.0°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#FBF673
RGBrgb(251, 246, 115)
HSLhsl(58, 94%, 72%)
HSVhsv(58, 54%, 98%)
CMYKcmyk(0%, 2%, 54.2%, 1.6%)
CIE-LABlab(95.02, -14.78, 62.52)
CIE-LCHlch(95.02, 64.24, 103.30°)
OKLaboklab(95.19% -0.0444 0.1456)
OKLCHoklch(95.19% 0.152 107)
XYZxyz(75.8361, 87.6608, 29.1418)
Luminance0.8766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF673 #7378FB
analogous
#FBB273 #FBF673 #BCFB73
triadic
#FBF673 #73FBF6 #F673FB
tetradic
#FBF673 #73FBB2 #7378FB #FB73BC
square
#FBF673 #73FBB2 #7378FB #FB73BC
split-complementary
#FBF673 #73BCFB #B273FB
monochromatic
#EDE407 #F9F238 #FBF673 #FDFAAF #FEFDE1

Accessibility & contrast

On white

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

On black

18.53
#FBF673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF673
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF673#FFFFFF#000000##000000
##FBF6731.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE66
Deuteranopia (green-blind)
#FFF37A
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf673;
/* rgb */ color: rgb(251, 246, 115);
/* oklch */ color: oklch(95.2% 0.152 107.0);
Tailwind
colors: {
  custom: {
    50: '#fff99f',
    500: '#fbf673',
    950: '#000000',
  },
}
SCSS
$custom: #fbf673;
$custom-light: #fff99f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf673",
  "rgb": {
    "r": 251,
    "g": 246,
    "b": 115
  },
  "hsl": {
    "h": 57.794,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95194,
    "c": 0.15218,
    "h": 107
  },
  "luminance": 0.87659
}

Semantic roles & 50–950 ramp

primary
#FBF673
secondary
#3B41D7
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF673

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

Preview Lab → · Contrast checker → · Palette generator →

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