#FBEF77#FBEF77

#FBEF77 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.8% C 0.142 H 103.6°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#FBEF77
RGBrgb(251, 239, 119)
HSLhsl(55, 94%, 73%)
HSVhsv(55, 53%, 98%)
CMYKcmyk(0%, 4.8%, 52.6%, 1.6%)
CIE-LABlab(93.27, -11.04, 58.71)
CIE-LCHlch(93.27, 59.74, 100.65°)
OKLaboklab(93.81% -0.0333 0.1378)
OKLCHoklch(93.81% 0.142 103.6)
XYZxyz(73.9822, 83.5766, 29.6840)
Luminance0.8357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF77 #7783FB
analogous
#FBAD77 #FBEF77 #C5FB77
triadic
#FBEF77 #77FBEF #EF77FB
tetradic
#FBEF77 #77FBAD #7783FB #FB77C5
square
#FBEF77 #77FBAD #7783FB #FB77C5
split-complementary
#FBEF77 #77C5FB #AD77FB
monochromatic
#F1DB07 #F9E83C #FBEF77 #FDF6B2 #FEFCE1

Accessibility & contrast

On white

1.19
#FBEF77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#FBEF77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF77
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF77#FFFFFF#000000##000000
##FBEF771.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86C
Deuteranopia (green-blind)
#FFEF7D
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fbef77;
/* rgb */ color: rgb(251, 239, 119);
/* oklch */ color: oklch(93.8% 0.142 103.6);
Tailwind
colors: {
  custom: {
    50: '#fff4a1',
    500: '#fbef77',
    950: '#000000',
  },
}
SCSS
$custom: #fbef77;
$custom-light: #fff4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef77",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 119
  },
  "hsl": {
    "h": 54.545,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93814,
    "c": 0.14171,
    "h": 103.6
  },
  "luminance": 0.83574
}

Semantic roles & 50–950 ramp

primary
#FBEF77
secondary
#3F4DD8
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBEF77

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

Preview Lab → · Contrast checker → · Palette generator →

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