#FBF591#FBF591

#FBF591 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.4% C 0.122 H 105.5°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#FBF591
RGBrgb(251, 245, 145)
HSLhsl(57, 93%, 78%)
HSVhsv(57, 42%, 98%)
CMYKcmyk(0%, 2.4%, 42.2%, 1.6%)
CIE-LABlab(95.10, -11.68, 48.73)
CIE-LCHlch(95.10, 50.11, 103.47°)
OKLaboklab(95.37% -0.0326 0.1178)
OKLCHoklch(95.37% 0.122 105.5)
XYZxyz(77.5484, 87.8603, 39.6563)
Luminance0.8786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF591 #9197FB
analogous
#FBC091 #FBF591 #CCFB91
triadic
#FBF591 #91FBF5 #F591FB
tetradic
#FBF591 #91FBC0 #9197FB #FB91CC
square
#FBF591 #91FBC0 #9197FB #FB91CC
split-complementary
#FBF591 #91CCFB #C091FB
monochromatic
#F7EA1B #F9F056 #FBF591 #FDFACC #FEFCE1

Accessibility & contrast

On white

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

On black

18.57
#FBF591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF591
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF591#FFFFFF#000000##000000
##FBF5911.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE89
Deuteranopia (green-blind)
#FFF395
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf591;
/* rgb */ color: rgb(251, 245, 145);
/* oklch */ color: oklch(95.4% 0.122 105.5);
Tailwind
colors: {
  custom: {
    50: '#fef8b3',
    500: '#fbf591',
    950: '#000000',
  },
}
SCSS
$custom: #fbf591;
$custom-light: #fef8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf591",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 145
  },
  "hsl": {
    "h": 56.604,
    "s": 92.982,
    "l": 77.647
  },
  "oklch": {
    "l": 0.95371,
    "c": 0.12218,
    "h": 105.5
  },
  "luminance": 0.87858
}

Semantic roles & 50–950 ramp

primary
#FBF591
secondary
#555DDB
accent
#0DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF591

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

Preview Lab → · Contrast checker → · Palette generator →

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