#FBE97E#FBE97E

#FBE97E is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.7% C 0.130 H 99.9°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#FBE97E
RGBrgb(251, 233, 126)
HSLhsl(51, 94%, 74%)
HSVhsv(51, 50%, 98%)
CMYKcmyk(0%, 7.2%, 49.8%, 1.6%)
CIE-LABlab(91.82, -7.48, 53.75)
CIE-LCHlch(91.82, 54.27, 97.93°)
OKLaboklab(92.69% -0.0223 0.1276)
OKLCHoklch(92.69% 0.13 99.9)
XYZxyz(72.6907, 80.2960, 31.4043)
Luminance0.8029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE97E #7E90FB
analogous
#FBAB7E #FBE97E #CFFB7E
triadic
#FBE97E #7EFBE9 #E97EFB
tetradic
#FBE97E #7EFBAB #7E90FB #FB7ECF
square
#FBE97E #7EFBAB #7E90FB #FB7ECF
split-complementary
#FBE97E #7ECFFB #AB7EFB
monochromatic
#F7D408 #F9DF43 #FBE97E #FDF3B9 #FEFAE1

Accessibility & contrast

On white

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

On black

17.06
#FBE97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE97E
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE97E#FFFFFF#000000##000000
##FBE97E1.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbe97e;
/* rgb */ color: rgb(251, 233, 126);
/* oklch */ color: oklch(92.7% 0.130 99.9);
Tailwind
colors: {
  custom: {
    50: '#ffefa6',
    500: '#fbe97e',
    950: '#000000',
  },
}
SCSS
$custom: #fbe97e;
$custom-light: #ffefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe97e",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 51.36,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92689,
    "c": 0.12951,
    "h": 99.9
  },
  "luminance": 0.80293
}

Semantic roles & 50–950 ramp

primary
#FBE97E
secondary
#455AD9
accent
#21E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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