#FBF662#FBF662

#FBF662 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.0% C 0.166 H 107.3°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#FBF662
RGBrgb(251, 246, 98)
HSLhsl(58, 95%, 68%)
HSVhsv(58, 61%, 98%)
CMYKcmyk(0%, 2%, 61%, 1.6%)
CIE-LABlab(94.87, -15.95, 69.58)
CIE-LCHlch(94.87, 71.38, 102.91°)
OKLaboklab(95.03% -0.0495 0.1585)
OKLCHoklch(95.03% 0.166 107.3)
XYZxyz(74.9465, 87.3049, 24.4565)
Luminance0.8730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF662 #6267FB
analogous
#FBA962 #FBF662 #B3FB62
triadic
#FBF662 #62FBF6 #F662FB
tetradic
#FBF662 #62FBA9 #6267FB #FB62B3
square
#FBF662 #62FBA9 #6267FB #FB62B3
split-complementary
#FBF662 #62B3FB #A962FB
monochromatic
#DDD606 #F9F326 #FBF662 #FDF99E #FEFDD9

Accessibility & contrast

On white

1.14
#FBF662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#FBF662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF662
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF662#FFFFFF#000000##000000
##FBF6621.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFF36B
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf662;
/* rgb */ color: rgb(251, 246, 98);
/* oklch */ color: oklch(95.0% 0.166 107.3);
Tailwind
colors: {
  custom: {
    50: '#fff895',
    500: '#fbf662',
    950: '#000000',
  },
}
SCSS
$custom: #fbf662;
$custom-light: #fff895;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf662",
  "rgb": {
    "r": 251,
    "g": 246,
    "b": 98
  },
  "hsl": {
    "h": 58.039,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.95025,
    "c": 0.16608,
    "h": 107.3
  },
  "luminance": 0.87303
}

Semantic roles & 50–950 ramp

primary
#FBF662
secondary
#2D32D5
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF662

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

Preview Lab → · Contrast checker → · Palette generator →

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