#FBE974#FBE974

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

Color values

HEX#FBE974
RGBrgb(251, 233, 116)
HSLhsl(52, 94%, 72%)
HSVhsv(52, 54%, 98%)
CMYKcmyk(0%, 7.2%, 53.8%, 1.6%)
CIE-LABlab(91.71, -8.30, 58.26)
CIE-LCHlch(91.71, 58.84, 98.11°)
OKLaboklab(92.57% -0.0257 0.1365)
OKLCHoklch(92.57% 0.139 100.7)
XYZxyz(72.0774, 80.0507, 28.1742)
Luminance0.8005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE974 #7486FB
analogous
#FBA674 #FBE974 #CAFB74
triadic
#FBE974 #74FBE9 #E974FB
tetradic
#FBE974 #74FBA6 #7486FB #FB74CA
square
#FBE974 #74FBA6 #7486FB #FB74CA
split-complementary
#FBE974 #74CAFB #A674FB
monochromatic
#EECF07 #F9E039 #FBE974 #FDF2AF #FEFAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBE974#FFFFFF#000000##000000
##FBE9741.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)
#FBE369
Deuteranopia (green-blind)
#FFEA79
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fbe974;
/* rgb */ color: rgb(251, 233, 116);
/* oklch */ color: oklch(92.6% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#ffef9f',
    500: '#fbe974',
    950: '#000000',
  },
}
SCSS
$custom: #fbe974;
$custom-light: #ffef9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe974",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 116
  },
  "hsl": {
    "h": 52,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92566,
    "c": 0.13889,
    "h": 100.7
  },
  "luminance": 0.80048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBE974

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

Preview Lab → · Contrast checker → · Palette generator →

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