#FBF26C#FBF26C

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

Color values

HEX#FBF26C
RGBrgb(251, 242, 108)
HSLhsl(56, 95%, 70%)
HSVhsv(56, 57%, 98%)
CMYKcmyk(0%, 3.6%, 57%, 1.6%)
CIE-LABlab(93.93, -13.34, 64.34)
CIE-LCHlch(93.93, 65.71, 101.71°)
OKLaboklab(94.3% -0.041 0.1487)
OKLCHoklch(94.3% 0.154 105.4)
XYZxyz(74.2449, 85.0986, 26.6992)
Luminance0.8510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBF26C #6C75FB
analogous
#FBAB6C #FBF26C #BCFB6C
triadic
#FBF26C #6CFBF2 #F26CFB
tetradic
#FBF26C #6CFBAB #6C75FB #FB6CBC
square
#FBF26C #6CFBAB #6C75FB #FB6CBC
split-complementary
#FBF26C #6CBCFB #AB6CFB
monochromatic
#E6D806 #F9ED30 #FBF26C #FDF7A8 #FEFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBF26C#FFFFFF#000000##000000
##FBF26C1.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)
#FFEA5E
Deuteranopia (green-blind)
#FFF073
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbf26c;
/* rgb */ color: rgb(251, 242, 108);
/* oklch */ color: oklch(94.3% 0.154 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff69a',
    500: '#fbf26c',
    950: '#000000',
  },
}
SCSS
$custom: #fbf26c;
$custom-light: #fff69a;
$custom-dark: #000000;
JSON
{
  "hex": "#fbf26c",
  "rgb": {
    "r": 251,
    "g": 242,
    "b": 108
  },
  "hsl": {
    "h": 56.224,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94303,
    "c": 0.15424,
    "h": 105.4
  },
  "luminance": 0.85096
}

Semantic roles & 50–950 ramp

primary
#FBF26C
secondary
#353FD6
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FBF26C

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

Preview Lab → · Contrast checker → · Palette generator →

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