#FBF562#FBF562

#FBF562 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.8% C 0.165 H 106.9°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#FBF562
RGBrgb(251, 245, 98)
HSLhsl(58, 95%, 68%)
HSVhsv(58, 61%, 98%)
CMYKcmyk(0%, 2.4%, 61%, 1.6%)
CIE-LABlab(94.61, -15.46, 69.30)
CIE-LCHlch(94.61, 71.00, 102.58°)
OKLaboklab(94.82% -0.0481 0.158)
OKLCHoklch(94.82% 0.165 106.9)
XYZxyz(74.6432, 86.6982, 24.3554)
Luminance0.8670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF562 #6268FB
analogous
#FBA862 #FBF562 #B4FB62
triadic
#FBF562 #62FBF5 #F562FB
tetradic
#FBF562 #62FBA8 #6268FB #FB62B4
square
#FBF562 #62FBA8 #6268FB #FB62B4
split-complementary
#FBF562 #62B4FB #A862FB
monochromatic
#DDD506 #F9F126 #FBF562 #FDF99E #FEFDD9

Accessibility & contrast

On white

1.15
#FBF562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#FBF562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF562
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF562#FFFFFF#000000##000000
##FBF5621.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC50
Deuteranopia (green-blind)
#FFF26B
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf562;
/* rgb */ color: rgb(251, 245, 98);
/* oklch */ color: oklch(94.8% 0.165 106.9);
Tailwind
colors: {
  custom: {
    50: '#fff895',
    500: '#fbf562',
    950: '#000000',
  },
}
SCSS
$custom: #fbf562;
$custom-light: #fff895;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf562",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 57.647,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.9482,
    "c": 0.16512,
    "h": 106.9
  },
  "luminance": 0.86696
}

Semantic roles & 50–950 ramp

primary
#FBF562
secondary
#2D33D5
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF562

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

Preview Lab → · Contrast checker → · Palette generator →

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