#FBF762#FBF762

#FBF762 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.2% C 0.167 H 107.7°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#FBF762
RGBrgb(251, 247, 98)
HSLhsl(58, 95%, 68%)
HSVhsv(58, 61%, 98%)
CMYKcmyk(0%, 1.6%, 61%, 1.6%)
CIE-LABlab(95.13, -16.43, 69.85)
CIE-LCHlch(95.13, 71.76, 103.24°)
OKLaboklab(95.23% -0.0509 0.1591)
OKLCHoklch(95.23% 0.167 107.7)
XYZxyz(75.2515, 87.9149, 24.5582)
Luminance0.8791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF762 #6266FB
analogous
#FBAA62 #FBF762 #B3FB62
triadic
#FBF762 #62FBF7 #F762FB
tetradic
#FBF762 #62FBAA #6266FB #FB62B3
square
#FBF762 #62FBAA #6266FB #FB62B3
split-complementary
#FBF762 #62B3FB #AA62FB
monochromatic
#DDD706 #F9F426 #FBF762 #FDFA9E #FEFDD9

Accessibility & contrast

On white

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

On black

18.58
#FBF762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF762
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF762#FFFFFF#000000##000000
##FBF7621.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE50
Deuteranopia (green-blind)
#FFF46B
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf762;
/* rgb */ color: rgb(251, 247, 98);
/* oklch */ color: oklch(95.2% 0.167 107.7);
Tailwind
colors: {
  custom: {
    50: '#fff995',
    500: '#fbf762',
    950: '#000000',
  },
}
SCSS
$custom: #fbf762;
$custom-light: #fff995;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf762",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 98
  },
  "hsl": {
    "h": 58.431,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.95231,
    "c": 0.16705,
    "h": 107.7
  },
  "luminance": 0.87913
}

Semantic roles & 50–950 ramp

primary
#FBF762
secondary
#2D31D5
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF762

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

Preview Lab → · Contrast checker → · Palette generator →

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