#FBF862#FBF862

#FBF862 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.4% C 0.168 H 108.1°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#FBF862
RGBrgb(251, 248, 98)
HSLhsl(59, 95%, 68%)
HSVhsv(59, 61%, 98%)
CMYKcmyk(0%, 1.2%, 61%, 1.6%)
CIE-LABlab(95.38, -16.92, 70.13)
CIE-LCHlch(95.38, 72.14, 103.56°)
OKLaboklab(95.44% -0.0522 0.1597)
OKLCHoklch(95.44% 0.168 108.1)
XYZxyz(75.5581, 88.5281, 24.6604)
Luminance0.8853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF862 #6265FB
analogous
#FBAC62 #FBF862 #B1FB62
triadic
#FBF862 #62FBF8 #F862FB
tetradic
#FBF862 #62FBAC #6265FB #FB62B1
square
#FBF862 #62FBAC #6265FB #FB62B1
split-complementary
#FBF862 #62B1FB #AC62FB
monochromatic
#DDD906 #F9F526 #FBF862 #FDFB9E #FEFDD9

Accessibility & contrast

On white

1.12
#FBF862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.71
#FBF862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF862
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF862#FFFFFF#000000##000000
##FBF8621.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF50
Deuteranopia (green-blind)
#FFF46B
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fbf862;
/* rgb */ color: rgb(251, 248, 98);
/* oklch */ color: oklch(95.4% 0.168 108.1);
Tailwind
colors: {
  custom: {
    50: '#fffa95',
    500: '#fbf862',
    950: '#000000',
  },
}
SCSS
$custom: #fbf862;
$custom-light: #fffa95;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf862",
  "rgb": {
    "r": 251,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 58.824,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.95436,
    "c": 0.16803,
    "h": 108.1
  },
  "luminance": 0.88526
}

Semantic roles & 50–950 ramp

primary
#FBF862
secondary
#2D30D5
accent
#04E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF862

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

Preview Lab → · Contrast checker → · Palette generator →

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