#FBE8A2#FBE8A2

#FBE8A2 is a very light, moderate yellow. Relative luminance 0.808; OKLCH L 93.0% C 0.091 H 94.7°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#FBE8A2
RGBrgb(251, 232, 162)
HSLhsl(47, 92%, 81%)
HSVhsv(47, 35%, 98%)
CMYKcmyk(0%, 7.6%, 35.5%, 1.6%)
CIE-LABlab(92.06, -3.39, 36.43)
CIE-LCHlch(92.06, 36.59, 95.32°)
OKLaboklab(93.04% -0.0075 0.0903)
OKLCHoklch(93.04% 0.091 94.7)
XYZxyz(75.1631, 80.8334, 45.8185)
Luminance0.8083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBE8A2 #A2B5FB
analogous
#FBBBA2 #FBE8A2 #E1FBA2
triadic
#FBE8A2 #A2FBE8 #E8A2FB
tetradic
#FBE8A2 #A2FBBB #A2B5FB #FBA2E1
square
#FBE8A2 #A2FBBB #A2B5FB #FBA2E1
split-complementary
#FBE8A2 #A2E1FB #BBA2FB
monochromatic
#F6CB2D #F8D967 #FBE8A2 #FEF7DD #FEF8E2

Accessibility & contrast

On white

1.22
#FBE8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#FBE8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBE8A2
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBE8A2#FFFFFF#000000##000000
##FBE8A21.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E59D
Deuteranopia (green-blind)
#FBEBA4
Tritanopia (blue-blind)
#FFDED6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #fbe8a2;
/* rgb */ color: rgb(251, 232, 162);
/* oklch */ color: oklch(93.0% 0.091 94.7);
Tailwind
colors: {
  custom: {
    50: '#feefbe',
    500: '#fbe8a2',
    950: '#000000',
  },
}
SCSS
$custom: #fbe8a2;
$custom-light: #feefbe;
$custom-dark: #000000;
JSON
{
  "hex": "#fbe8a2",
  "rgb": {
    "r": 251,
    "g": 232,
    "b": 162
  },
  "hsl": {
    "h": 47.191,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.93039,
    "c": 0.09065,
    "h": 94.7
  },
  "luminance": 0.80831
}

Semantic roles & 50–950 ramp

primary
#FBE8A2
secondary
#647EDD
accent
#31E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181612
muted
#868582

Preview Lab

Preview with #FBE8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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