#FEF6BB#FEF6BB

#FEF6BB is a very light, moderate yellow. Relative luminance 0.906; OKLCH L 96.5% C 0.076 H 101.2°. Best body text is #000000 at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#FEF6BB
RGBrgb(254, 246, 187)
HSLhsl(53, 97%, 86%)
HSVhsv(53, 26%, 100%)
CMYKcmyk(0%, 3.1%, 26.4%, 0.4%)
CIE-LABlab(96.23, -6.24, 29.42)
CIE-LCHlch(96.23, 30.08, 101.97°)
OKLaboklab(96.53% -0.0147 0.0743)
OKLCHoklch(96.53% 0.076 101.2)
XYZxyz(82.7987, 90.5718, 60.1245)
Luminance0.9057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF6BB #BBC3FE
analogous
#FED5BB #FEF6BB #E5FEBB
triadic
#FEF6BB #BBFEF6 #F6BBFE
tetradic
#FEF6BB #BBFED5 #BBC3FE #FEBBE5
square
#FEF6BB #BBFED5 #BBC3FE #FEBBE5
split-complementary
#FEF6BB #BBE5FE #D5BBFE
monochromatic
#FCE642 #FDEE7F #FEF6BB #FFFBE1 #FFFBE1

Accessibility & contrast

On white

1.10
#FEF6BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.11
#FEF6BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF6BB
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF6BB#FFFFFF#000000##000000
##FEF6BB1.001.1019.1119.11
#FFFFFF1.101.0021.0021.00
#00000019.1121.001.001.00
##00000019.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF2B7
Deuteranopia (green-blind)
#FFF6BD
Tritanopia (blue-blind)
#FFEEE6
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef6bb;
/* rgb */ color: rgb(254, 246, 187);
/* oklch */ color: oklch(96.5% 0.076 101.2);
Tailwind
colors: {
  custom: {
    50: '#fff9cf',
    500: '#fef6bb',
    950: '#000000',
  },
}
SCSS
$custom: #fef6bb;
$custom-light: #fff9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fef6bb",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 187
  },
  "hsl": {
    "h": 52.836,
    "s": 97.101,
    "l": 86.471
  },
  "oklch": {
    "l": 0.96534,
    "c": 0.07571,
    "h": 101.2
  },
  "luminance": 0.9057
}

Semantic roles & 50–950 ramp

primary
#FEF6BB
secondary
#7885E5
accent
#1BE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF6BB

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

Preview Lab → · Contrast checker → · Palette generator →

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