#FBF79F#FBF79F

#FBF79F is a very light, moderate yellow. Relative luminance 0.895; OKLCH L 96.0% C 0.109 H 106.0°. Best body text is #000000 at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#FBF79F
RGBrgb(251, 247, 159)
HSLhsl(57, 92%, 80%)
HSVhsv(57, 37%, 98%)
CMYKcmyk(0%, 1.6%, 36.7%, 1.6%)
CIE-LABlab(95.80, -11.20, 42.80)
CIE-LCHlch(95.80, 44.25, 104.67°)
OKLaboklab(95.99% -0.0302 0.105)
OKLCHoklch(95.99% 0.109 106)
XYZxyz(79.3035, 89.5357, 45.8987)
Luminance0.8953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF79F #9FA3FB
analogous
#FBC99F #FBF79F #D1FB9F
triadic
#FBF79F #9FFBF7 #F79FFB
tetradic
#FBF79F #9FFBC9 #9FA3FB #FB9FD1
square
#FBF79F #9FFBC9 #9FA3FB #FB9FD1
split-complementary
#FBF79F #9FD1FB #C99FFB
monochromatic
#F6ED29 #F9F264 #FBF79F #FDFCDA #FEFDE2

Accessibility & contrast

On white

1.11
#FBF79F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.91
#FBF79F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF79F
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF79F#FFFFFF#000000##000000
##FBF79F1.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF198
Deuteranopia (green-blind)
#FFF5A3
Tritanopia (blue-blind)
#FFECE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fbf79f;
/* rgb */ color: rgb(251, 247, 159);
/* oklch */ color: oklch(96.0% 0.109 106.0);
Tailwind
colors: {
  custom: {
    50: '#fef9bc',
    500: '#fbf79f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf79f;
$custom-light: #fef9bc;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf79f",
  "rgb": {
    "r": 251,
    "g": 247,
    "b": 159
  },
  "hsl": {
    "h": 57.391,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.9599,
    "c": 0.10924,
    "h": 106
  },
  "luminance": 0.89534
}

Semantic roles & 50–950 ramp

primary
#FBF79F
secondary
#6167DD
accent
#0AE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FBF79F

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

Preview Lab → · Contrast checker → · Palette generator →

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