#FBEFA7#FBEFA7

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

Color values

HEX#FBEFA7
RGBrgb(251, 239, 167)
HSLhsl(51, 91%, 82%)
HSVhsv(51, 33%, 98%)
CMYKcmyk(0%, 4.8%, 33.5%, 1.6%)
CIE-LABlab(93.90, -6.33, 36.34)
CIE-LCHlch(93.90, 36.89, 99.88°)
OKLaboklab(94.52% -0.0157 0.0903)
OKLCHoklch(94.52% 0.092 99.9)
XYZxyz(77.6262, 85.0342, 48.8758)
Luminance0.8503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEFA7 #A7B3FB
analogous
#FBC5A7 #FBEFA7 #DDFBA7
triadic
#FBEFA7 #A7FBEF #EFA7FB
tetradic
#FBEFA7 #A7FBC5 #A7B3FB #FBA7DD
square
#FBEFA7 #A7FBC5 #A7B3FB #FBA7DD
split-complementary
#FBEFA7 #A7DDFB #C5A7FB
monochromatic
#F6DA32 #F8E46C #FBEFA7 #FEFAE2 #FEFAE2

Accessibility & contrast

On white

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

On black

18.01
#FBEFA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEFA7
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEFA7#FFFFFF#000000##000000
##FBEFA71.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fbefa7;
/* rgb */ color: rgb(251, 239, 167);
/* oklch */ color: oklch(94.5% 0.092 99.9);
Tailwind
colors: {
  custom: {
    50: '#fdf4c1',
    500: '#fbefa7',
    950: '#000000',
  },
}
SCSS
$custom: #fbefa7;
$custom-light: #fdf4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fbefa7",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 167
  },
  "hsl": {
    "h": 51.429,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.9452,
    "c": 0.09163,
    "h": 99.9
  },
  "luminance": 0.85032
}

Semantic roles & 50–950 ramp

primary
#FBEFA7
secondary
#6879DE
accent
#21E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Preview Lab

Preview with #FBEFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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