#FBE97B#FBE97B

#FBE97B is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.7% C 0.132 H 100.2°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#FBE97B
RGBrgb(251, 233, 123)
HSLhsl(52, 94%, 73%)
HSVhsv(52, 51%, 98%)
CMYKcmyk(0%, 7.2%, 51%, 1.6%)
CIE-LABlab(91.78, -7.74, 55.12)
CIE-LCHlch(91.78, 55.66, 97.99°)
OKLaboklab(92.65% -0.0234 0.1303)
OKLCHoklch(92.65% 0.132 100.2)
XYZxyz(72.5000, 80.2198, 30.4000)
Luminance0.8022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE97B #7B8DFB
analogous
#FBA97B #FBE97B #CDFB7B
triadic
#FBE97B #7BFBE9 #E97BFB
tetradic
#FBE97B #7BFBA9 #7B8DFB #FB7BCD
square
#FBE97B #7BFBA9 #7B8DFB #FB7BCD
split-complementary
#FBE97B #7BCDFB #A97BFB
monochromatic
#F4D307 #F9DF40 #FBE97B #FDF3B6 #FEFAE1

Accessibility & contrast

On white

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

On black

17.04
#FBE97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE97B
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE97B#FFFFFF#000000##000000
##FBE97B1.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE371
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fbe97b;
/* rgb */ color: rgb(251, 233, 123);
/* oklch */ color: oklch(92.7% 0.132 100.2);
Tailwind
colors: {
  custom: {
    50: '#ffefa4',
    500: '#fbe97b',
    950: '#000000',
  },
}
SCSS
$custom: #fbe97b;
$custom-light: #ffefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe97b",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 51.563,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92651,
    "c": 0.13239,
    "h": 100.2
  },
  "luminance": 0.80217
}

Semantic roles & 50–950 ramp

primary
#FBE97B
secondary
#4257D8
accent
#20E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBE97B

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

Preview Lab → · Contrast checker → · Palette generator →

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