#FBEFA6#FBEFA6

#FBEFA6 is a very light, moderate yellow. Relative luminance 0.850; OKLCH L 94.5% C 0.093 H 100.0°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#FBEFA6
RGBrgb(251, 239, 166)
HSLhsl(52, 91%, 82%)
HSVhsv(52, 34%, 98%)
CMYKcmyk(0%, 4.8%, 33.9%, 1.6%)
CIE-LABlab(93.88, -6.45, 36.82)
CIE-LCHlch(93.88, 37.38, 99.93°)
OKLaboklab(94.5% -0.0161 0.0914)
OKLCHoklch(94.5% 0.093 100)
XYZxyz(77.5341, 84.9974, 48.3908)
Luminance0.8499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEFA6 #A6B2FB
analogous
#FBC5A6 #FBEFA6 #DDFBA6
triadic
#FBEFA6 #A6FBEF #EFA6FB
tetradic
#FBEFA6 #A6FBC5 #A6B2FB #FBA6DD
square
#FBEFA6 #A6FBC5 #A6B2FB #FBA6DD
split-complementary
#FBEFA6 #A6DDFB #C5A6FB
monochromatic
#F6DA31 #F8E46B #FBEFA6 #FEFAE1 #FEFAE2

Accessibility & contrast

On white

1.17
#FBEFA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.00
#FBEFA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEFA6
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEFA6#FFFFFF#000000##000000
##FBEFA61.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEBA1
Deuteranopia (green-blind)
#FFF0A9
Tritanopia (blue-blind)
#FFE5DC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fbefa6;
/* rgb */ color: rgb(251, 239, 166);
/* oklch */ color: oklch(94.5% 0.093 100.0);
Tailwind
colors: {
  custom: {
    50: '#fdf4c1',
    500: '#fbefa6',
    950: '#000000',
  },
}
SCSS
$custom: #fbefa6;
$custom-light: #fdf4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbefa6",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 166
  },
  "hsl": {
    "h": 51.529,
    "s": 91.398,
    "l": 81.765
  },
  "oklch": {
    "l": 0.94502,
    "c": 0.09278,
    "h": 100
  },
  "luminance": 0.84995
}

Semantic roles & 50–950 ramp

primary
#FBEFA6
secondary
#6778DE
accent
#20E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBEFA6

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

Preview Lab → · Contrast checker → · Palette generator →

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