#FBE87E#FBE87E

#FBE87E is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.5% C 0.129 H 99.4°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#FBE87E
RGBrgb(251, 232, 126)
HSLhsl(51, 94%, 74%)
HSVhsv(51, 50%, 98%)
CMYKcmyk(0%, 7.6%, 49.8%, 1.6%)
CIE-LABlab(91.56, -6.99, 53.45)
CIE-LCHlch(91.56, 53.90, 97.45°)
OKLaboklab(92.49% -0.0209 0.1269)
OKLCHoklch(92.49% 0.129 99.4)
XYZxyz(72.4084, 79.7315, 31.3102)
Luminance0.7973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE87E #7E91FB
analogous
#FBAA7E #FBE87E #D0FB7E
triadic
#FBE87E #7EFBE8 #E87EFB
tetradic
#FBE87E #7EFBAA #7E91FB #FB7ED0
square
#FBE87E #7EFBAA #7E91FB #FB7ED0
split-complementary
#FBE87E #7ED0FB #AA7EFB
monochromatic
#F7D308 #F9DD43 #FBE87E #FDF3B9 #FEFAE1

Accessibility & contrast

On white

1.24
#FBE87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#FBE87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE87E
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE87E#FFFFFF#000000##000000
##FBE87E1.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE375
Deuteranopia (green-blind)
#FFEA83
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fbe87e;
/* rgb */ color: rgb(251, 232, 126);
/* oklch */ color: oklch(92.5% 0.129 99.4);
Tailwind
colors: {
  custom: {
    50: '#ffefa6',
    500: '#fbe87e',
    950: '#000000',
  },
}
SCSS
$custom: #fbe87e;
$custom-light: #ffefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe87e",
  "rgb": {
    "r": 251,
    "g": 232,
    "b": 126
  },
  "hsl": {
    "h": 50.88,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92488,
    "c": 0.12861,
    "h": 99.4
  },
  "luminance": 0.79729
}

Semantic roles & 50–950 ramp

primary
#FBE87E
secondary
#455BD9
accent
#23E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBE87E

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

Preview Lab → · Contrast checker → · Palette generator →

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