#FBE76B#FBE76B

#FBE76B is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 92.1% C 0.145 H 100.2°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#FBE76B
RGBrgb(251, 231, 107)
HSLhsl(52, 95%, 70%)
HSVhsv(52, 57%, 98%)
CMYKcmyk(0%, 8%, 57.4%, 1.6%)
CIE-LABlab(91.11, -7.97, 61.62)
CIE-LCHlch(91.11, 62.13, 97.37°)
OKLaboklab(92.06% -0.0258 0.1427)
OKLCHoklch(92.06% 0.145 100.2)
XYZxyz(71.0160, 78.7254, 25.3618)
Luminance0.7872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE76B #6B7FFB
analogous
#FB9F6B #FBE76B #C7FB6B
triadic
#FBE76B #6BFBE7 #E76BFB
tetradic
#FBE76B #6BFB9F #6B7FFB #FB6BC7
square
#FBE76B #6BFB9F #6B7FFB #FB6BC7
split-complementary
#FBE76B #6BC7FB #9F6BFB
monochromatic
#E5C606 #F9DD2F #FBE76B #FDF1A7 #FEFAE1

Accessibility & contrast

On white

1.25
#FBE76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#FBE76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE76B
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE76B#FFFFFF#000000##000000
##FBE76B1.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE15E
Deuteranopia (green-blind)
#FFE971
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #fbe76b;
/* rgb */ color: rgb(251, 231, 107);
/* oklch */ color: oklch(92.1% 0.145 100.2);
Tailwind
colors: {
  custom: {
    50: '#ffee99',
    500: '#fbe76b',
    950: '#000000',
  },
}
SCSS
$custom: #fbe76b;
$custom-light: #ffee99;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe76b",
  "rgb": {
    "r": 251,
    "g": 231,
    "b": 107
  },
  "hsl": {
    "h": 51.667,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.92063,
    "c": 0.14505,
    "h": 100.2
  },
  "luminance": 0.78723
}

Semantic roles & 50–950 ramp

primary
#FBE76B
secondary
#344BD6
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FBE76B

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

Preview Lab → · Contrast checker → · Palette generator →

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