#FBE97F#FBE97F

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

Color values

HEX#FBE97F
RGBrgb(251, 233, 127)
HSLhsl(51, 94%, 74%)
HSVhsv(51, 49%, 98%)
CMYKcmyk(0%, 7.2%, 49.4%, 1.6%)
CIE-LABlab(91.83, -7.40, 53.29)
CIE-LCHlch(91.83, 53.80, 97.90°)
OKLaboklab(92.7% -0.022 0.1267)
OKLCHoklch(92.7% 0.129 99.8)
XYZxyz(72.7555, 80.3220, 31.7458)
Luminance0.8032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE97F #7F91FB
analogous
#FBAB7F #FBE97F #CFFB7F
triadic
#FBE97F #7FFBE9 #E97FFB
tetradic
#FBE97F #7FFBAB #7F91FB #FB7FCF
square
#FBE97F #7FFBAB #7F91FB #FB7FCF
split-complementary
#FBE97F #7FCFFB #AB7FFB
monochromatic
#F7D508 #F9DF44 #FBE97F #FDF3BA #FEFAE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FBE97F#FFFFFF#000000##000000
##FBE97F1.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)
#FBE476
Deuteranopia (green-blind)
#FFEB84
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fbe97f;
/* rgb */ color: rgb(251, 233, 127);
/* oklch */ color: oklch(92.7% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#ffefa6',
    500: '#fbe97f',
    950: '#000000',
  },
}
SCSS
$custom: #fbe97f;
$custom-light: #ffefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe97f",
  "rgb": {
    "r": 251,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 51.29,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92702,
    "c": 0.12854,
    "h": 99.8
  },
  "luminance": 0.80319
}

Semantic roles & 50–950 ramp

primary
#FBE97F
secondary
#465BD9
accent
#21E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #FBE97F

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

Preview Lab → · Contrast checker → · Palette generator →

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