#FBF26B#FBF26B

#FBF26B is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.3% C 0.155 H 105.4°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#FBF26B
RGBrgb(251, 242, 107)
HSLhsl(56, 95%, 70%)
HSVhsv(56, 57%, 98%)
CMYKcmyk(0%, 3.6%, 57.4%, 1.6%)
CIE-LABlab(93.92, -13.41, 64.77)
CIE-LCHlch(93.92, 66.14, 101.69°)
OKLaboklab(94.29% -0.0413 0.1495)
OKLCHoklch(94.29% 0.155 105.4)
XYZxyz(74.1920, 85.0774, 26.4205)
Luminance0.8508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF26B #6B74FB
analogous
#FBAA6B #FBF26B #BCFB6B
triadic
#FBF26B #6BFBF2 #F26BFB
tetradic
#FBF26B #6BFBAA #6B74FB #FB6BBC
square
#FBF26B #6BFBAA #6B74FB #FB6BBC
split-complementary
#FBF26B #6BBCFB #AA6BFB
monochromatic
#E5D706 #F9ED2F #FBF26B #FDF7A7 #FEFCE1

Accessibility & contrast

On white

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

On black

18.02
#FBF26B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBF26B
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBF26B#FFFFFF#000000##000000
##FBF26B1.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5C
Deuteranopia (green-blind)
#FFF072
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbf26b;
/* rgb */ color: rgb(251, 242, 107);
/* oklch */ color: oklch(94.3% 0.155 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff69a',
    500: '#fbf26b',
    950: '#000000',
  },
}
SCSS
$custom: #fbf26b;
$custom-light: #fff69a;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf26b",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 107
  },
  "hsl": {
    "h": 56.25,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94293,
    "c": 0.15507,
    "h": 105.4
  },
  "luminance": 0.85075
}

Semantic roles & 50–950 ramp

primary
#FBF26B
secondary
#343ED6
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF26B

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

Preview Lab → · Contrast checker → · Palette generator →

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