#FBE171#FBE171

#FBE171 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.9% C 0.135 H 96.5°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#FBE171
RGBrgb(251, 225, 113)
HSLhsl(49, 95%, 71%)
HSVhsv(49, 55%, 98%)
CMYKcmyk(0%, 10.4%, 55%, 1.6%)
CIE-LABlab(89.65, -4.53, 57.24)
CIE-LCHlch(89.65, 57.42, 94.52°)
OKLaboklab(90.93% -0.0152 0.134)
OKLCHoklch(90.93% 0.135 96.5)
XYZxyz(69.6921, 75.5549, 26.5322)
Luminance0.7555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE171 #718BFB
analogous
#FB9C71 #FBE171 #D0FB71
triadic
#FBE171 #71FBE1 #E171FB
tetradic
#FBE171 #71FB9C #718BFB #FB71D0
square
#FBE171 #71FB9C #718BFB #FB71D0
split-complementary
#FBE171 #71D0FB #9C71FB
monochromatic
#EBC007 #F9D435 #FBE171 #FDEEAD #FEF9E1

Accessibility & contrast

On white

1.30
#FBE171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.11
#FBE171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE171
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE171#FFFFFF#000000##000000
##FBE1711.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC66
Deuteranopia (green-blind)
#FBE576
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #fbe171;
/* rgb */ color: rgb(251, 225, 113);
/* oklch */ color: oklch(90.9% 0.135 96.5);
Tailwind
colors: {
  custom: {
    50: '#ffea9d',
    500: '#fbe171',
    950: '#000000',
  },
}
SCSS
$custom: #fbe171;
$custom-light: #ffea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe171",
  "rgb": {
    "r": 251,
    "g": 225,
    "b": 113
  },
  "hsl": {
    "h": 48.696,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.90928,
    "c": 0.13483,
    "h": 96.5
  },
  "luminance": 0.75552
}

Semantic roles & 50–950 ramp

primary
#FBE171
secondary
#3957D7
accent
#2BE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #FBE171

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

Preview Lab → · Contrast checker → · Palette generator →

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