#FEFFB6#FEFFB6

#FEFFB6 is a very light, moderate yellow. Relative luminance 0.960; OKLCH L 98.2% C 0.092 H 108.6°. Best body text is #000000 at 20.19:1 contrast (WCAG AA passes).

Color values

HEX#FEFFB6
RGBrgb(254, 255, 182)
HSLhsl(61, 100%, 86%)
HSVhsv(61, 29%, 100%)
CMYKcmyk(0.4%, 0%, 28.6%, 0%)
CIE-LABlab(98.42, -11.32, 34.88)
CIE-LCHlch(98.42, 36.67, 107.98°)
OKLaboklab(98.24% -0.0294 0.0872)
OKLCHoklch(98.24% 0.092 108.6)
XYZxyz(85.0768, 95.9695, 58.2891)
Luminance0.9597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFFB6 #B7B6FF
analogous
#FFDBB6 #FEFFB6 #D9FFB6
triadic
#FEFFB6 #B6FEFF #FFB6FE
tetradic
#FEFFB6 #B6FFDB #B7B6FF #FFB6D9
square
#FEFFB6 #B6FFDB #B7B6FF #FFB6D9
split-complementary
#FEFFB6 #B6D9FF #DBB6FF
monochromatic
#FCFF3C #FDFF79 #FEFFB6 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.04
#FEFFB6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.19
#FEFFB6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFFB6
20.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFFB6#FFFFFF#000000##000000
##FEFFB61.001.0420.1920.19
#FFFFFF1.041.0021.0021.00
#00000020.1921.001.001.00
##00000020.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9B1
Deuteranopia (green-blind)
#FFFCB9
Tritanopia (blue-blind)
#FFF6EC
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #feffb6;
/* rgb */ color: rgb(254, 255, 182);
/* oklch */ color: oklch(98.2% 0.092 108.6);
Tailwind
colors: {
  custom: {
    50: '#ffffcc',
    500: '#feffb6',
    950: '#000000',
  },
}
SCSS
$custom: #feffb6;
$custom-light: #ffffcc;
$custom-dark: #000000;
JSON
{
  "hex": "#feffb6",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 182
  },
  "hsl": {
    "h": 60.822,
    "s": 100,
    "l": 85.686
  },
  "oklch": {
    "l": 0.98238,
    "c": 0.09204,
    "h": 108.6
  },
  "luminance": 0.95968
}

Semantic roles & 50–950 ramp

primary
#FEFFB6
secondary
#7473E6
accent
#00E603
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181813
muted
#868683

Preview Lab

Preview with #FEFFB6

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

Preview Lab → · Contrast checker → · Palette generator →

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