#FEFEB6#FEFEB6

#FEFEB6 is a very light, moderate yellow. Relative luminance 0.953; OKLCH L 98.0% C 0.091 H 108.0°. Best body text is #000000 at 20.07:1 contrast (WCAG AA passes).

Color values

HEX#FEFEB6
RGBrgb(254, 254, 182)
HSLhsl(60, 97%, 85%)
HSVhsv(60, 28%, 100%)
CMYKcmyk(0%, 0%, 28.3%, 0.4%)
CIE-LABlab(98.17, -10.83, 34.54)
CIE-LCHlch(98.17, 36.20, 107.41°)
OKLaboklab(98.04% -0.028 0.0864)
OKLCHoklch(98.04% 0.091 108)
XYZxyz(84.7587, 95.3332, 58.1830)
Luminance0.9533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFEB6 #B6B6FE
analogous
#FEDAB6 #FEFEB6 #DAFEB6
triadic
#FEFEB6 #B6FEFE #FEB6FE
tetradic
#FEFEB6 #B6FEDA #B6B6FE #FEB6DA
square
#FEFEB6 #B6FEDA #B6B6FE #FEB6DA
split-complementary
#FEFEB6 #B6DAFE #DAB6FE
monochromatic
#FCFC3D #FDFD7A #FEFEB6 #FFFFE1 #FFFFE1

Accessibility & contrast

On white

1.05
#FEFEB6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.07
#FEFEB6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFEB6
20.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFEB6#FFFFFF#000000##000000
##FEFEB61.001.0520.0720.07
#FFFFFF1.051.0021.0021.00
#00000020.0721.001.001.00
##00000020.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8B1
Deuteranopia (green-blind)
#FFFBB9
Tritanopia (blue-blind)
#FFF5EB
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fefeb6;
/* rgb */ color: rgb(254, 254, 182);
/* oklch */ color: oklch(98.0% 0.091 108.0);
Tailwind
colors: {
  custom: {
    50: '#fffecc',
    500: '#fefeb6',
    950: '#000000',
  },
}
SCSS
$custom: #fefeb6;
$custom-light: #fffecc;
$custom-dark: #000000;
JSON
{
  "hex": "#fefeb6",
  "rgb": {
    "r": 254,
    "g": 254,
    "b": 182
  },
  "hsl": {
    "h": 60,
    "s": 97.297,
    "l": 85.49
  },
  "oklch": {
    "l": 0.98037,
    "c": 0.09084,
    "h": 108
  },
  "luminance": 0.95332
}

Semantic roles & 50–950 ramp

primary
#FEFEB6
secondary
#7474E5
accent
#00E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FEFEB6

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

Preview Lab → · Contrast checker → · Palette generator →

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