#FBF672#FBF672

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

Color values

HEX#FBF672
RGBrgb(251, 246, 114)
HSLhsl(58, 94%, 72%)
HSVhsv(58, 55%, 98%)
CMYKcmyk(0%, 2%, 54.6%, 1.6%)
CIE-LABlab(95.01, -14.85, 62.95)
CIE-LCHlch(95.01, 64.68, 103.28°)
OKLaboklab(95.18% -0.0447 0.1464)
OKLCHoklch(95.18% 0.153 107)
XYZxyz(75.7789, 87.6379, 28.8403)
Luminance0.8764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF672 #7277FB
analogous
#FBB272 #FBF672 #BCFB72
triadic
#FBF672 #72FBF6 #F672FB
tetradic
#FBF672 #72FBB2 #7277FB #FB72BC
square
#FBF672 #72FBB2 #7277FB #FB72BC
split-complementary
#FBF672 #72BCFB #B272FB
monochromatic
#ECE407 #F9F236 #FBF672 #FDFAAE #FEFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF672#FFFFFF#000000##000000
##FBF6721.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)
#FFEE65
Deuteranopia (green-blind)
#FFF379
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf672;
/* rgb */ color: rgb(251, 246, 114);
/* oklch */ color: oklch(95.2% 0.153 107.0);
Tailwind
colors: {
  custom: {
    50: '#fff99e',
    500: '#fbf672',
    950: '#000000',
  },
}
SCSS
$custom: #fbf672;
$custom-light: #fff99e;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf672",
  "rgb": {
    "r": 251,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 57.81,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95183,
    "c": 0.15306,
    "h": 107
  },
  "luminance": 0.87636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF672

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

Preview Lab → · Contrast checker → · Palette generator →

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