#FBE271#FBE271

#FBE271 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 91.1% C 0.136 H 97.1°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#FBE271
RGBrgb(251, 226, 113)
HSLhsl(49, 95%, 71%)
HSVhsv(49, 55%, 98%)
CMYKcmyk(0%, 10%, 55%, 1.6%)
CIE-LABlab(89.90, -5.03, 57.53)
CIE-LCHlch(89.90, 57.75, 95.00°)
OKLaboklab(91.13% -0.0167 0.1346)
OKLCHoklch(91.13% 0.136 97.1)
XYZxyz(69.9632, 76.0972, 26.6225)
Luminance0.7609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE271 #718AFB
analogous
#FB9D71 #FBE271 #CFFB71
triadic
#FBE271 #71FBE2 #E271FB
tetradic
#FBE271 #71FB9D #718AFB #FB71CF
square
#FBE271 #71FB9D #718AFB #FB71CF
split-complementary
#FBE271 #71CFFB #9D71FB
monochromatic
#EBC207 #F9D635 #FBE271 #FDEEAD #FEF9E1

Accessibility & contrast

On white

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

On black

16.22
#FBE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE271
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE271#FFFFFF#000000##000000
##FBE2711.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD66
Deuteranopia (green-blind)
#FCE676
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #fbe271;
/* rgb */ color: rgb(251, 226, 113);
/* oklch */ color: oklch(91.1% 0.136 97.1);
Tailwind
colors: {
  custom: {
    50: '#ffea9d',
    500: '#fbe271',
    950: '#000000',
  },
}
SCSS
$custom: #fbe271;
$custom-light: #ffea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe271",
  "rgb": {
    "r": 251,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 49.13,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91128,
    "c": 0.13563,
    "h": 97.1
  },
  "luminance": 0.76094
}

Semantic roles & 50–950 ramp

primary
#FBE271
secondary
#3956D7
accent
#2AE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FBE271

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

Preview Lab → · Contrast checker → · Palette generator →

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