#FBE77F#FBE77F

#FBE77F is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.3% C 0.127 H 98.7°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#FBE77F
RGBrgb(251, 231, 127)
HSLhsl(50, 94%, 74%)
HSVhsv(50, 49%, 98%)
CMYKcmyk(0%, 8%, 49.4%, 1.6%)
CIE-LABlab(91.32, -6.40, 52.68)
CIE-LCHlch(91.32, 53.07, 96.93°)
OKLaboklab(92.3% -0.0191 0.1253)
OKLCHoklch(92.3% 0.127 98.7)
XYZxyz(72.1925, 79.1960, 31.5582)
Luminance0.7919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE77F #7F93FB
analogous
#FBA97F #FBE77F #D1FB7F
triadic
#FBE77F #7FFBE7 #E77FFB
tetradic
#FBE77F #7FFBA9 #7F93FB #FB7FD1
square
#FBE77F #7FFBA9 #7F93FB #FB7FD1
split-complementary
#FBE77F #7FD1FB #A97FFB
monochromatic
#F7D108 #F9DC44 #FBE77F #FDF2BA #FEF9E1

Accessibility & contrast

On white

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

On black

16.84
#FBE77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE77F
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE77F#FFFFFF#000000##000000
##FBE77F1.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E276
Deuteranopia (green-blind)
#FEE983
Tritanopia (blue-blind)
#FFDACF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fbe77f;
/* rgb */ color: rgb(251, 231, 127);
/* oklch */ color: oklch(92.3% 0.127 98.7);
Tailwind
colors: {
  custom: {
    50: '#ffeea6',
    500: '#fbe77f',
    950: '#000000',
  },
}
SCSS
$custom: #fbe77f;
$custom-light: #ffeea6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe77f",
  "rgb": {
    "r": 251,
    "g": 231,
    "b": 127
  },
  "hsl": {
    "h": 50.323,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92301,
    "c": 0.12675,
    "h": 98.7
  },
  "luminance": 0.79193
}

Semantic roles & 50–950 ramp

primary
#FBE77F
secondary
#465DD9
accent
#25E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #FBE77F

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

Preview Lab → · Contrast checker → · Palette generator →

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