#FBE96F#FBE96F

#FBE96F is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.5% C 0.143 H 101.0°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#FBE96F
RGBrgb(251, 233, 111)
HSLhsl(52, 95%, 71%)
HSVhsv(52, 56%, 98%)
CMYKcmyk(0%, 7.2%, 55.8%, 1.6%)
CIE-LABlab(91.66, -8.68, 60.46)
CIE-LCHlch(91.66, 61.08, 98.17°)
OKLaboklab(92.51% -0.0274 0.1407)
OKLCHoklch(92.51% 0.143 101)
XYZxyz(71.7943, 79.9375, 26.6835)
Luminance0.7994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE96F #6F81FB
analogous
#FBA36F #FBE96F #C7FB6F
triadic
#FBE96F #6FFBE9 #E96FFB
tetradic
#FBE96F #6FFBA3 #6F81FB #FB6FC7
square
#FBE96F #6FFBA3 #6F81FB #FB6FC7
split-complementary
#FBE96F #6FC7FB #A36FFB
monochromatic
#E9CC06 #F9E033 #FBE96F #FDF2AB #FEFAE1

Accessibility & contrast

On white

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

On black

16.99
#FBE96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE96F
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE96F#FFFFFF#000000##000000
##FBE96F1.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE363
Deuteranopia (green-blind)
#FFEA75
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fbe96f;
/* rgb */ color: rgb(251, 233, 111);
/* oklch */ color: oklch(92.5% 0.143 101.0);
Tailwind
colors: {
  custom: {
    50: '#ffef9c',
    500: '#fbe96f',
    950: '#000000',
  },
}
SCSS
$custom: #fbe96f;
$custom-light: #ffef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe96f",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 111
  },
  "hsl": {
    "h": 52.286,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.9251,
    "c": 0.14334,
    "h": 101
  },
  "luminance": 0.79935
}

Semantic roles & 50–950 ramp

primary
#FBE96F
secondary
#384CD6
accent
#1EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #FBE96F

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

Preview Lab → · Contrast checker → · Palette generator →

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