#FBE97A#FBE97A

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

Color values

HEX#FBE97A
RGBrgb(251, 233, 122)
HSLhsl(52, 94%, 73%)
HSVhsv(52, 51%, 98%)
CMYKcmyk(0%, 7.2%, 51.4%, 1.6%)
CIE-LABlab(91.77, -7.82, 55.57)
CIE-LCHlch(91.77, 56.12, 98.01°)
OKLaboklab(92.64% -0.0237 0.1312)
OKLCHoklch(92.64% 0.133 100.2)
XYZxyz(72.4377, 80.1948, 30.0720)
Luminance0.8019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE97A #7A8CFB
analogous
#FBA87A #FBE97A #CCFB7A
triadic
#FBE97A #7AFBE9 #E97AFB
tetradic
#FBE97A #7AFBA8 #7A8CFB #FB7ACC
square
#FBE97A #7AFBA8 #7A8CFB #FB7ACC
split-complementary
#FBE97A #7ACCFB #A87AFB
monochromatic
#F3D207 #F9DF3F #FBE97A #FDF3B5 #FEFAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBE97A#FFFFFF#000000##000000
##FBE97A1.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)
#FBE370
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fbe97a;
/* rgb */ color: rgb(251, 233, 122);
/* oklch */ color: oklch(92.6% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#ffefa3',
    500: '#fbe97a',
    950: '#000000',
  },
}
SCSS
$custom: #fbe97a;
$custom-light: #ffefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe97a",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 51.628,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92639,
    "c": 0.13334,
    "h": 100.2
  },
  "luminance": 0.80192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FBE97A

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

Preview Lab → · Contrast checker → · Palette generator →

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