#FEFCB6#FEFCB6

#FEFCB6 is a very light, moderate yellow. Relative luminance 0.941; OKLCH L 97.6% C 0.088 H 106.6°. Best body text is #000000 at 19.81:1 contrast (WCAG AA passes).

Color values

HEX#FEFCB6
RGBrgb(254, 252, 182)
HSLhsl(58, 97%, 85%)
HSVhsv(58, 28%, 100%)
CMYKcmyk(0%, 0.8%, 28.3%, 0.4%)
CIE-LABlab(97.66, -9.85, 33.87)
CIE-LCHlch(97.66, 35.27, 106.21°)
OKLaboklab(97.64% -0.0252 0.0848)
OKLCHoklch(97.64% 0.088 106.6)
XYZxyz(84.1273, 94.0704, 57.9726)
Luminance0.9407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCB6 #B6B8FE
analogous
#FED8B6 #FEFCB6 #DCFEB6
triadic
#FEFCB6 #B6FEFC #FCB6FE
tetradic
#FEFCB6 #B6FED8 #B6B8FE #FEB6DC
square
#FEFCB6 #B6FED8 #B6B8FE #FEB6DC
split-complementary
#FEFCB6 #B6DCFE #D8B6FE
monochromatic
#FCF73D #FDFA7A #FEFCB6 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

1.06
#FEFCB6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.81
#FEFCB6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCB6
19.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCB6#FFFFFF#000000##000000
##FEFCB61.001.0619.8119.81
#FFFFFF1.061.0021.0021.00
#00000019.8121.001.001.00
##00000019.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6B1
Deuteranopia (green-blind)
#FFFAB9
Tritanopia (blue-blind)
#FFF3EA
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fefcb6;
/* rgb */ color: rgb(254, 252, 182);
/* oklch */ color: oklch(97.6% 0.088 106.6);
Tailwind
colors: {
  custom: {
    50: '#fffdcc',
    500: '#fefcb6',
    950: '#000000',
  },
}
SCSS
$custom: #fefcb6;
$custom-light: #fffdcc;
$custom-dark: #000000;
JSON
{
  "hex": "#fefcb6",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 182
  },
  "hsl": {
    "h": 58.333,
    "s": 97.297,
    "l": 85.49
  },
  "oklch": {
    "l": 0.97636,
    "c": 0.08847,
    "h": 106.6
  },
  "luminance": 0.94069
}

Semantic roles & 50–950 ramp

primary
#FEFCB6
secondary
#7477E5
accent
#06E600
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#181713
muted
#868583

Preview Lab

Preview with #FEFCB6

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

Preview Lab → · Contrast checker → · Palette generator →

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