#FBE371#FBE371

#FBE371 is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.3% C 0.136 H 97.6°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#FBE371
RGBrgb(251, 227, 113)
HSLhsl(50, 95%, 71%)
HSVhsv(50, 55%, 98%)
CMYKcmyk(0%, 9.6%, 55%, 1.6%)
CIE-LABlab(90.16, -5.53, 57.82)
CIE-LCHlch(90.16, 58.09, 95.47°)
OKLaboklab(91.33% -0.0181 0.1352)
OKLCHoklch(91.33% 0.136 97.6)
XYZxyz(70.2360, 76.6426, 26.7134)
Luminance0.7664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE371 #7189FB
analogous
#FB9E71 #FBE371 #CEFB71
triadic
#FBE371 #71FBE3 #E371FB
tetradic
#FBE371 #71FB9E #7189FB #FB71CE
square
#FBE371 #71FB9E #7189FB #FB71CE
split-complementary
#FBE371 #71CEFB #9E71FB
monochromatic
#EBC307 #F9D735 #FBE371 #FDEFAD #FEF9E1

Accessibility & contrast

On white

1.29
#FBE371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#FBE371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE371
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE371#FFFFFF#000000##000000
##FBE3711.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE66
Deuteranopia (green-blind)
#FCE676
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #fbe371;
/* rgb */ color: rgb(251, 227, 113);
/* oklch */ color: oklch(91.3% 0.136 97.6);
Tailwind
colors: {
  custom: {
    50: '#ffeb9d',
    500: '#fbe371',
    950: '#000000',
  },
}
SCSS
$custom: #fbe371;
$custom-light: #ffeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe371",
  "rgb": {
    "r": 251,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 49.565,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91328,
    "c": 0.13645,
    "h": 97.6
  },
  "luminance": 0.7664
}

Semantic roles & 50–950 ramp

primary
#FBE371
secondary
#3955D7
accent
#28E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FBE371

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

Preview Lab → · Contrast checker → · Palette generator →

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