#FBF59E#FBF59E

#FBF59E is a very light, moderate yellow. Relative luminance 0.883; OKLCH L 95.6% C 0.108 H 104.9°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#FBF59E
RGBrgb(251, 245, 158)
HSLhsl(56, 92%, 80%)
HSVhsv(56, 37%, 98%)
CMYKcmyk(0%, 2.4%, 37.1%, 1.6%)
CIE-LABlab(95.28, -10.33, 42.62)
CIE-LCHlch(95.28, 43.86, 103.62°)
OKLaboklab(95.57% -0.0277 0.1045)
OKLCHoklch(95.57% 0.108 104.9)
XYZxyz(78.6087, 88.2845, 45.2408)
Luminance0.8828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF59E #9EA4FB
analogous
#FBC69E #FBF59E #D2FB9E
triadic
#FBF59E #9EFBF5 #F59EFB
tetradic
#FBF59E #9EFBC6 #9EA4FB #FB9ED2
square
#FBF59E #9EFBC6 #9EA4FB #FB9ED2
split-complementary
#FBF59E #9ED2FB #C69EFB
monochromatic
#F6E928 #F9EF63 #FBF59E #FDFBD9 #FEFCE2

Accessibility & contrast

On white

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

On black

18.66
#FBF59E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF59E
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF59E#FFFFFF#000000##000000
##FBF59E1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF98
Deuteranopia (green-blind)
#FFF4A2
Tritanopia (blue-blind)
#FFEADF
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fbf59e;
/* rgb */ color: rgb(251, 245, 158);
/* oklch */ color: oklch(95.6% 0.108 104.9);
Tailwind
colors: {
  custom: {
    50: '#fef8bb',
    500: '#fbf59e',
    950: '#000000',
  },
}
SCSS
$custom: #fbf59e;
$custom-light: #fef8bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf59e",
  "rgb": {
    "r": 251,
    "g": 245,
    "b": 158
  },
  "hsl": {
    "h": 56.129,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.9557,
    "c": 0.10815,
    "h": 104.9
  },
  "luminance": 0.88283
}

Semantic roles & 50–950 ramp

primary
#FBF59E
secondary
#6068DD
accent
#0FE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBF59E

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

Preview Lab → · Contrast checker → · Palette generator →

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