#FBE397#FBE397

#FBE397 is a very light, moderate yellow. Relative luminance 0.777; OKLCH L 91.9% C 0.099 H 92.6°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#FBE397
RGBrgb(251, 227, 151)
HSLhsl(46, 93%, 79%)
HSVhsv(46, 40%, 98%)
CMYKcmyk(0%, 9.6%, 39.8%, 1.6%)
CIE-LABlab(90.64, -2.08, 40.10)
CIE-LCHlch(90.64, 40.16, 92.96°)
OKLaboklab(91.86% -0.0044 0.0985)
OKLCHoklch(91.86% 0.099 92.6)
XYZxyz(72.8403, 77.6844, 40.4298)
Luminance0.7768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE397 #97AFFB
analogous
#FBB197 #FBE397 #E1FB97
triadic
#FBE397 #97FBE3 #E397FB
tetradic
#FBE397 #97FBB1 #97AFFB #FB97E1
square
#FBE397 #97FBB1 #97AFFB #FB97E1
split-complementary
#FBE397 #97E1FB #B197FB
monochromatic
#F6C321 #F9D35C #FBE397 #FDF3D2 #FEF7E2

Accessibility & contrast

On white

1.27
#FBE397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#FBE397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE397
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE397#FFFFFF#000000##000000
##FBE3971.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E091
Deuteranopia (green-blind)
#F9E79A
Tritanopia (blue-blind)
#FFD8D0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #fbe397;
/* rgb */ color: rgb(251, 227, 151);
/* oklch */ color: oklch(91.9% 0.099 92.6);
Tailwind
colors: {
  custom: {
    50: '#feebb6',
    500: '#fbe397',
    950: '#000000',
  },
}
SCSS
$custom: #fbe397;
$custom-light: #feebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe397",
  "rgb": {
    "r": 251,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 45.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.91861,
    "c": 0.09855,
    "h": 92.6
  },
  "luminance": 0.77682
}

Semantic roles & 50–950 ramp

primary
#FBE397
secondary
#5A79DC
accent
#37E600
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #FBE397

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

Preview Lab → · Contrast checker → · Palette generator →

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