#FBF399#FBF399

#FBF399 is a very light, moderate yellow. Relative luminance 0.869; OKLCH L 95.1% C 0.112 H 103.9°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#FBF399
RGBrgb(251, 243, 153)
HSLhsl(55, 92%, 79%)
HSVhsv(55, 39%, 98%)
CMYKcmyk(0%, 3.2%, 39%, 1.6%)
CIE-LABlab(94.70, -9.87, 44.33)
CIE-LCHlch(94.70, 45.42, 102.55°)
OKLaboklab(95.09% -0.0268 0.1082)
OKLCHoklch(95.09% 0.112 103.9)
XYZxyz(77.5853, 86.9123, 42.8196)
Luminance0.8691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF399 #99A1FB
analogous
#FBC299 #FBF399 #D2FB99
triadic
#FBF399 #99FBF3 #F399FB
tetradic
#FBF399 #99FBC2 #99A1FB #FB99D2
square
#FBF399 #99FBC2 #99A1FB #FB99D2
split-complementary
#FBF399 #99D2FB #C299FB
monochromatic
#F6E523 #F9EC5E #FBF399 #FDFAD4 #FEFCE2

Accessibility & contrast

On white

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

On black

18.38
#FBF399 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF399
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF399#FFFFFF#000000##000000
##FBF3991.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED92
Deuteranopia (green-blind)
#FFF29D
Tritanopia (blue-blind)
#FFE8DD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fbf399;
/* rgb */ color: rgb(251, 243, 153);
/* oklch */ color: oklch(95.1% 0.112 103.9);
Tailwind
colors: {
  custom: {
    50: '#fef6b8',
    500: '#fbf399',
    950: '#000000',
  },
}
SCSS
$custom: #fbf399;
$custom-light: #fef6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf399",
  "rgb": {
    "r": 251,
    "g": 243,
    "b": 153
  },
  "hsl": {
    "h": 55.102,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.95087,
    "c": 0.1115,
    "h": 103.9
  },
  "luminance": 0.8691
}

Semantic roles & 50–950 ramp

primary
#FBF399
secondary
#5C67DC
accent
#13E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF399

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

Preview Lab → · Contrast checker → · Palette generator →

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