#FBE77B#FBE77B

#FBE77B is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.3% C 0.131 H 99.0°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#FBE77B
RGBrgb(251, 231, 123)
HSLhsl(51, 94%, 73%)
HSVhsv(51, 51%, 98%)
CMYKcmyk(0%, 8%, 51%, 1.6%)
CIE-LABlab(91.28, -6.74, 54.51)
CIE-LCHlch(91.28, 54.93, 97.05°)
OKLaboklab(92.25% -0.0205 0.129)
OKLCHoklch(92.25% 0.131 99)
XYZxyz(71.9370, 79.0938, 30.2124)
Luminance0.7909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE77B #7B8FFB
analogous
#FBA77B #FBE77B #CFFB7B
triadic
#FBE77B #7BFBE7 #E77BFB
tetradic
#FBE77B #7BFBA7 #7B8FFB #FB7BCF
square
#FBE77B #7BFBA7 #7B8FFB #FB7BCF
split-complementary
#FBE77B #7BCFFB #A77BFB
monochromatic
#F4CF07 #F9DC40 #FBE77B #FDF2B6 #FEFAE1

Accessibility & contrast

On white

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

On black

16.82
#FBE77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE77B
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE77B#FFFFFF#000000##000000
##FBE77B1.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E271
Deuteranopia (green-blind)
#FFE980
Tritanopia (blue-blind)
#FFD9CE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fbe77b;
/* rgb */ color: rgb(251, 231, 123);
/* oklch */ color: oklch(92.3% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#ffeea3',
    500: '#fbe77b',
    950: '#000000',
  },
}
SCSS
$custom: #fbe77b;
$custom-light: #ffeea3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe77b",
  "rgb": {
    "r": 251,
    "g": 231,
    "b": 123
  },
  "hsl": {
    "h": 50.625,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.9225,
    "c": 0.1306,
    "h": 99
  },
  "luminance": 0.79091
}

Semantic roles & 50–950 ramp

primary
#FBE77B
secondary
#425AD8
accent
#24E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FBE77B

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

Preview Lab → · Contrast checker → · Palette generator →

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