#FBE975#FBE975

#FBE975 is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.6% C 0.138 H 100.6°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#FBE975
RGBrgb(251, 233, 117)
HSLhsl(52, 94%, 72%)
HSVhsv(52, 53%, 98%)
CMYKcmyk(0%, 7.2%, 53.4%, 1.6%)
CIE-LABlab(91.72, -8.22, 57.81)
CIE-LCHlch(91.72, 58.39, 98.09°)
OKLaboklab(92.58% -0.0254 0.1356)
OKLCHoklch(92.58% 0.138 100.6)
XYZxyz(72.1358, 80.0741, 28.4822)
Luminance0.8007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE975 #7587FB
analogous
#FBA675 #FBE975 #CAFB75
triadic
#FBE975 #75FBE9 #E975FB
tetradic
#FBE975 #75FBA6 #7587FB #FB75CA
square
#FBE975 #75FBA6 #7587FB #FB75CA
split-complementary
#FBE975 #75CAFB #A675FB
monochromatic
#EFD007 #F9E03A #FBE975 #FDF2B0 #FEFAE1

Accessibility & contrast

On white

1.23
#FBE975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#FBE975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE975
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE975#FFFFFF#000000##000000
##FBE9751.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbe975;
/* rgb */ color: rgb(251, 233, 117);
/* oklch */ color: oklch(92.6% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#ffefa0',
    500: '#fbe975',
    950: '#000000',
  },
}
SCSS
$custom: #fbe975;
$custom-light: #ffefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe975",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 117
  },
  "hsl": {
    "h": 51.94,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92578,
    "c": 0.13797,
    "h": 100.6
  },
  "luminance": 0.80071
}

Semantic roles & 50–950 ramp

primary
#FBE975
secondary
#3D52D7
accent
#1FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #FBE975

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

Preview Lab → · Contrast checker → · Palette generator →

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