#FBF08F#FBF08F

#FBF08F is a very light, moderate yellow. Relative luminance 0.848; OKLCH L 94.3% C 0.119 H 102.7°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#FBF08F
RGBrgb(251, 240, 143)
HSLhsl(54, 93%, 77%)
HSVhsv(54, 43%, 98%)
CMYKcmyk(0%, 4.4%, 43%, 1.6%)
CIE-LABlab(93.80, -9.40, 48.07)
CIE-LCHlch(93.80, 48.98, 101.07°)
OKLaboklab(94.33% -0.0263 0.1162)
OKLCHoklch(94.33% 0.119 102.7)
XYZxyz(75.9033, 84.8148, 38.3538)
Luminance0.8481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF08F #8F9AFB
analogous
#FBBA8F #FBF08F #D0FB8F
triadic
#FBF08F #8FFBF0 #F08FFB
tetradic
#FBF08F #8FFBBA #8F9AFB #FB8FD0
square
#FBF08F #8FFBBA #8F9AFB #FB8FD0
split-complementary
#FBF08F #8FD0FB #BA8FFB
monochromatic
#F7E019 #F9E854 #FBF08F #FDF8CA #FEFBE1

Accessibility & contrast

On white

1.17
#FBF08F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#FBF08F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF08F
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF08F#FFFFFF#000000##000000
##FBF08F1.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA87
Deuteranopia (green-blind)
#FFF093
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf08f;
/* rgb */ color: rgb(251, 240, 143);
/* oklch */ color: oklch(94.3% 0.119 102.7);
Tailwind
colors: {
  custom: {
    50: '#fef4b1',
    500: '#fbf08f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf08f;
$custom-light: #fef4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf08f",
  "rgb": {
    "r": 251,
    "g": 240,
    "b": 143
  },
  "hsl": {
    "h": 53.889,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.94331,
    "c": 0.11908,
    "h": 102.7
  },
  "luminance": 0.84813
}

Semantic roles & 50–950 ramp

primary
#FBF08F
secondary
#5361DB
accent
#17E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF08F

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

Preview Lab → · Contrast checker → · Palette generator →

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