#FBE875#FBE875

#FBE875 is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.4% C 0.137 H 100.1°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#FBE875
RGBrgb(251, 232, 117)
HSLhsl(51, 94%, 72%)
HSVhsv(51, 53%, 98%)
CMYKcmyk(0%, 7.6%, 53.4%, 1.6%)
CIE-LABlab(91.46, -7.72, 57.52)
CIE-LCHlch(91.46, 58.03, 97.65°)
OKLaboklab(92.38% -0.024 0.135)
OKLCHoklch(92.38% 0.137 100.1)
XYZxyz(71.8536, 79.5095, 28.3881)
Luminance0.7951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE875 #7588FB
analogous
#FBA575 #FBE875 #CBFB75
triadic
#FBE875 #75FBE8 #E875FB
tetradic
#FBE875 #75FBA5 #7588FB #FB75CB
square
#FBE875 #75FBA5 #7588FB #FB75CB
split-complementary
#FBE875 #75CBFB #A575FB
monochromatic
#EFCE07 #F9DE3A #FBE875 #FDF2B0 #FEFAE1

Accessibility & contrast

On white

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

On black

16.90
#FBE875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE875
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE875#FFFFFF#000000##000000
##FBE8751.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26A
Deuteranopia (green-blind)
#FFEA7A
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #fbe875;
/* rgb */ color: rgb(251, 232, 117);
/* oklch */ color: oklch(92.4% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#ffefa0',
    500: '#fbe875',
    950: '#000000',
  },
}
SCSS
$custom: #fbe875;
$custom-light: #ffefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe875",
  "rgb": {
    "r": 251,
    "g": 232,
    "b": 117
  },
  "hsl": {
    "h": 51.493,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92377,
    "c": 0.13708,
    "h": 100.1
  },
  "luminance": 0.79507
}

Semantic roles & 50–950 ramp

primary
#FBE875
secondary
#3D53D7
accent
#21E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FBE875

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

Preview Lab → · Contrast checker → · Palette generator →

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