#FBF299#FBF299

#FBF299 is a very light, moderate yellow. Relative luminance 0.863; OKLCH L 94.9% C 0.110 H 103.3°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#FBF299
RGBrgb(251, 242, 153)
HSLhsl(54, 92%, 79%)
HSVhsv(54, 39%, 98%)
CMYKcmyk(0%, 3.6%, 39%, 1.6%)
CIE-LABlab(94.45, -9.38, 44.01)
CIE-LCHlch(94.45, 45.00, 102.03°)
OKLaboklab(94.89% -0.0254 0.1075)
OKLCHoklch(94.89% 0.11 103.3)
XYZxyz(77.2869, 86.3154, 42.7201)
Luminance0.8631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF299 #99A2FB
analogous
#FBC199 #FBF299 #D3FB99
triadic
#FBF299 #99FBF2 #F299FB
tetradic
#FBF299 #99FBC1 #99A2FB #FB99D3
square
#FBF299 #99FBC1 #99A2FB #FB99D3
split-complementary
#FBF299 #99D3FB #C199FB
monochromatic
#F6E323 #F9EA5E #FBF299 #FDFAD4 #FEFBE2

Accessibility & contrast

On white

1.15
#FBF299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#FBF299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF299
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF299#FFFFFF#000000##000000
##FBF2991.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC92
Deuteranopia (green-blind)
#FFF19D
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf299;
/* rgb */ color: rgb(251, 242, 153);
/* oklch */ color: oklch(94.9% 0.110 103.3);
Tailwind
colors: {
  custom: {
    50: '#fef6b8',
    500: '#fbf299',
    950: '#000000',
  },
}
SCSS
$custom: #fbf299;
$custom-light: #fef6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf299",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 153
  },
  "hsl": {
    "h": 54.49,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.94886,
    "c": 0.11045,
    "h": 103.3
  },
  "luminance": 0.86313
}

Semantic roles & 50–950 ramp

primary
#FBF299
secondary
#5C68DC
accent
#15E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FBF299

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

Preview Lab → · Contrast checker → · Palette generator →

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