#FBF565#FBF565

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

Color values

HEX#FBF565
RGBrgb(251, 245, 101)
HSLhsl(58, 95%, 69%)
HSVhsv(58, 60%, 98%)
CMYKcmyk(0%, 2.4%, 59.8%, 1.6%)
CIE-LABlab(94.63, -15.27, 68.09)
CIE-LCHlch(94.63, 69.78, 102.64°)
OKLaboklab(94.85% -0.0473 0.1558)
OKLCHoklch(94.85% 0.163 106.9)
XYZxyz(74.7875, 86.7560, 25.1154)
Luminance0.8675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF565 #656BFB
analogous
#FBAA65 #FBF565 #B6FB65
triadic
#FBF565 #65FBF5 #F565FB
tetradic
#FBF565 #65FBAA #656BFB #FB65B6
square
#FBF565 #65FBAA #656BFB #FB65B6
split-complementary
#FBF565 #65B6FB #AA65FB
monochromatic
#E0D706 #F9F129 #FBF565 #FDF9A1 #FEFDDC

Accessibility & contrast

On white

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

On black

18.35
#FBF565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF565
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF565#FFFFFF#000000##000000
##FBF5651.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC54
Deuteranopia (green-blind)
#FFF26D
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf565;
/* rgb */ color: rgb(251, 245, 101);
/* oklch */ color: oklch(94.8% 0.163 106.9);
Tailwind
colors: {
  custom: {
    50: '#fff896',
    500: '#fbf565',
    950: '#000000',
  },
}
SCSS
$custom: #fbf565;
$custom-light: #fff896;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf565",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 101
  },
  "hsl": {
    "h": 57.6,
    "s": 94.937,
    "l": 69.02
  },
  "oklch": {
    "l": 0.94848,
    "c": 0.16281,
    "h": 106.9
  },
  "luminance": 0.86754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBF565

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

Preview Lab → · Contrast checker → · Palette generator →

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