#FBF46F#FBF46F

#FBF46F is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.7% C 0.154 H 106.2°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#FBF46F
RGBrgb(251, 244, 111)
HSLhsl(57, 95%, 71%)
HSVhsv(57, 56%, 98%)
CMYKcmyk(0%, 2.8%, 55.8%, 1.6%)
CIE-LABlab(94.47, -14.10, 63.65)
CIE-LCHlch(94.47, 65.19, 102.49°)
OKLaboklab(94.74% -0.0429 0.1475)
OKLCHoklch(94.74% 0.154 106.2)
XYZxyz(75.0059, 86.3606, 27.7541)
Luminance0.8636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF46F #6F76FB
analogous
#FBAE6F #FBF46F #BCFB6F
triadic
#FBF46F #6FFBF4 #F46FFB
tetradic
#FBF46F #6FFBAE #6F76FB #FB6FBC
square
#FBF46F #6FFBAE #6F76FB #FB6FBC
split-complementary
#FBF46F #6FBCFB #AE6FFB
monochromatic
#E9DE06 #F9EF33 #FBF46F #FDF9AB #FEFDE1

Accessibility & contrast

On white

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

On black

18.27
#FBF46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF46F
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF46F#FFFFFF#000000##000000
##FBF46F1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC61
Deuteranopia (green-blind)
#FFF276
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fbf46f;
/* rgb */ color: rgb(251, 244, 111);
/* oklch */ color: oklch(94.7% 0.154 106.2);
Tailwind
colors: {
  custom: {
    50: '#fff79c',
    500: '#fbf46f',
    950: '#000000',
  },
}
SCSS
$custom: #fbf46f;
$custom-light: #fff79c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf46f",
  "rgb": {
    "r": 251,
    "g": 244,
    "b": 111
  },
  "hsl": {
    "h": 57,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94742,
    "c": 0.15365,
    "h": 106.2
  },
  "luminance": 0.86358
}

Semantic roles & 50–950 ramp

primary
#FBF46F
secondary
#3840D6
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBF46F

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

Preview Lab → · Contrast checker → · Palette generator →

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