#FBEFAF#FBEFAF

#FBEFAF is a very light, moderate yellow. Relative luminance 0.853; OKLCH L 94.7% C 0.082 H 98.8°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#FBEFAF
RGBrgb(251, 239, 175)
HSLhsl(51, 90%, 84%)
HSVhsv(51, 30%, 98%)
CMYKcmyk(0%, 4.8%, 30.3%, 1.6%)
CIE-LABlab(94.03, -5.37, 32.49)
CIE-LCHlch(94.03, 32.93, 99.38°)
OKLaboklab(94.67% -0.0126 0.0814)
OKLCHoklch(94.67% 0.082 98.8)
XYZxyz(78.3887, 85.3392, 52.8919)
Luminance0.8534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBEFAF #AFBBFB
analogous
#FBC9AF #FBEFAF #E1FBAF
triadic
#FBEFAF #AFFBEF #EFAFFB
tetradic
#FBEFAF #AFFBC9 #AFBBFB #FBAFE1
square
#FBEFAF #AFFBC9 #AFBBFB #FBAFE1
split-complementary
#FBEFAF #AFE1FB #C9AFFB
monochromatic
#F5D83A #F8E375 #FBEFAF #FEF9E2 #FEF9E2

Accessibility & contrast

On white

1.16
#FBEFAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#FBEFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBEFAF
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBEFAF#FFFFFF#000000##000000
##FBEFAF1.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEBAB
Deuteranopia (green-blind)
#FFF0B1
Tritanopia (blue-blind)
#FFE6DE
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fbefaf;
/* rgb */ color: rgb(251, 239, 175);
/* oklch */ color: oklch(94.7% 0.082 98.8);
Tailwind
colors: {
  custom: {
    50: '#fdf4c7',
    500: '#fbefaf',
    950: '#000000',
  },
}
SCSS
$custom: #fbefaf;
$custom-light: #fdf4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#fbefaf",
  "rgb": {
    "r": 251,
    "g": 239,
    "b": 175
  },
  "hsl": {
    "h": 50.526,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.94666,
    "c": 0.08234,
    "h": 98.8
  },
  "luminance": 0.85337
}

Semantic roles & 50–950 ramp

primary
#FBEFAF
secondary
#6F81DF
accent
#24E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181713
muted
#868582

Preview Lab

Preview with #FBEFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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