#FEFBB8#FEFBB8

#FEFBB8 is a very light, moderate yellow. Relative luminance 0.935; OKLCH L 97.5% C 0.085 H 105.7°. Best body text is #000000 at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#FEFBB8
RGBrgb(254, 251, 184)
HSLhsl(57, 97%, 86%)
HSVhsv(57, 28%, 100%)
CMYKcmyk(0%, 1.2%, 27.6%, 0.4%)
CIE-LABlab(97.44, -9.10, 32.57)
CIE-LCHlch(97.44, 33.82, 105.62°)
OKLaboklab(97.47% -0.023 0.0818)
OKLCHoklch(97.47% 0.085 105.7)
XYZxyz(84.0222, 93.5273, 58.9645)
Luminance0.9353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFBB8 #B8BBFE
analogous
#FED8B8 #FEFBB8 #DEFEB8
triadic
#FEFBB8 #B8FEFB #FBB8FE
tetradic
#FEFBB8 #B8FED8 #B8BBFE #FEB8DE
square
#FEFBB8 #B8FED8 #B8BBFE #FEB8DE
split-complementary
#FEFBB8 #B8DEFE #D8B8FE
monochromatic
#FCF43F #FDF87C #FEFBB8 #FFFDE1 #FFFDE1

Accessibility & contrast

On white

1.07
#FEFBB8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.71
#FEFBB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFBB8
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFBB8#FFFFFF#000000##000000
##FEFBB81.001.0719.7119.71
#FFFFFF1.071.0021.0021.00
#00000019.7121.001.001.00
##00000019.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6B4
Deuteranopia (green-blind)
#FFF9BB
Tritanopia (blue-blind)
#FFF2E9
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fefbb8;
/* rgb */ color: rgb(254, 251, 184);
/* oklch */ color: oklch(97.5% 0.085 105.7);
Tailwind
colors: {
  custom: {
    50: '#fffccd',
    500: '#fefbb8',
    950: '#000000',
  },
}
SCSS
$custom: #fefbb8;
$custom-light: #fffccd;
$custom-dark: #000000;
JSON
{
  "hex": "#fefbb8",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 184
  },
  "hsl": {
    "h": 57.429,
    "s": 97.222,
    "l": 85.882
  },
  "oklch": {
    "l": 0.97473,
    "c": 0.08492,
    "h": 105.7
  },
  "luminance": 0.93526
}

Semantic roles & 50–950 ramp

primary
#FEFBB8
secondary
#757AE5
accent
#0AE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181713
muted
#868583

Preview Lab

Preview with #FEFBB8

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

Preview Lab → · Contrast checker → · Palette generator →

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