#FBEF71#FBEF71

#FBEF71 is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.7% C 0.147 H 103.9°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#FBEF71
RGBrgb(251, 239, 113)
HSLhsl(55, 95%, 71%)
HSVhsv(55, 55%, 98%)
CMYKcmyk(0%, 4.8%, 55%, 1.6%)
CIE-LABlab(93.21, -11.50, 61.34)
CIE-LCHlch(93.21, 62.40, 100.62°)
OKLaboklab(93.75% -0.0352 0.1428)
OKLCHoklch(93.75% 0.147 103.9)
XYZxyz(73.6331, 83.4370, 27.8458)
Luminance0.8343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEF71 #717DFB
analogous
#FBAA71 #FBEF71 #C2FB71
triadic
#FBEF71 #71FBEF #EF71FB
tetradic
#FBEF71 #71FBAA #717DFB #FB71C2
square
#FBEF71 #71FBAA #717DFB #FB71C2
split-complementary
#FBEF71 #71C2FB #AA71FB
monochromatic
#EBD707 #F9E835 #FBEF71 #FDF6AD #FEFCE1

Accessibility & contrast

On white

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

On black

17.69
#FBEF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEF71
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEF71#FFFFFF#000000##000000
##FBEF711.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFEE77
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #fbef71;
/* rgb */ color: rgb(251, 239, 113);
/* oklch */ color: oklch(93.7% 0.147 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff49d',
    500: '#fbef71',
    950: '#000000',
  },
}
SCSS
$custom: #fbef71;
$custom-light: #fff49d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbef71",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 113
  },
  "hsl": {
    "h": 54.783,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93746,
    "c": 0.14709,
    "h": 103.9
  },
  "luminance": 0.83434
}

Semantic roles & 50–950 ramp

primary
#FBEF71
secondary
#3947D7
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FBEF71

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

Preview Lab → · Contrast checker → · Palette generator →

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