#FBE795#FBE795

#FBE795 is a very light, moderate yellow. Relative luminance 0.798; OKLCH L 92.6% C 0.104 H 96.1°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#FBE795
RGBrgb(251, 231, 149)
HSLhsl(48, 93%, 78%)
HSVhsv(48, 41%, 98%)
CMYKcmyk(0%, 8%, 40.6%, 1.6%)
CIE-LABlab(91.61, -4.31, 42.35)
CIE-LCHlch(91.61, 42.57, 95.80°)
OKLaboklab(92.62% -0.011 0.1035)
OKLCHoklch(92.62% 0.104 96.1)
XYZxyz(73.7860, 79.8334, 39.9506)
Luminance0.7983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE795 #95A9FB
analogous
#FBB495 #FBE795 #DCFB95
triadic
#FBE795 #95FBE7 #E795FB
tetradic
#FBE795 #95FBB4 #95A9FB #FB95DC
square
#FBE795 #95FBB4 #95A9FB #FB95DC
split-complementary
#FBE795 #95DCFB #B495FB
monochromatic
#F7CC1F #F9DA5A #FBE795 #FDF4D0 #FEF8E2

Accessibility & contrast

On white

1.24
#FBE795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#FBE795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE795
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE795#FFFFFF#000000##000000
##FBE7951.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E38F
Deuteranopia (green-blind)
#FCEA98
Tritanopia (blue-blind)
#FFDCD3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #fbe795;
/* rgb */ color: rgb(251, 231, 149);
/* oklch */ color: oklch(92.6% 0.104 96.1);
Tailwind
colors: {
  custom: {
    50: '#feeeb5',
    500: '#fbe795',
    950: '#000000',
  },
}
SCSS
$custom: #fbe795;
$custom-light: #feeeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe795",
  "rgb": {
    "r": 251,
    "g": 231,
    "b": 149
  },
  "hsl": {
    "h": 48.235,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92622,
    "c": 0.10411,
    "h": 96.1
  },
  "luminance": 0.79831
}

Semantic roles & 50–950 ramp

primary
#FBE795
secondary
#5972DC
accent
#2DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #FBE795

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

Preview Lab → · Contrast checker → · Palette generator →

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