#FEFCA6#FEFCA6

#FEFCA6 is a very light, moderate yellow. Relative luminance 0.934; OKLCH L 97.4% C 0.107 H 107.1°. Best body text is #000000 at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#FEFCA6
RGBrgb(254, 252, 166)
HSLhsl(59, 98%, 82%)
HSVhsv(59, 35%, 100%)
CMYKcmyk(0%, 0.8%, 34.6%, 0.4%)
CIE-LABlab(97.41, -11.75, 41.48)
CIE-LCHlch(97.41, 43.11, 105.81°)
OKLaboklab(97.35% -0.0314 0.1022)
OKLCHoklch(97.35% 0.107 107.1)
XYZxyz(82.5673, 93.4464, 49.7564)
Luminance0.9345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCA6 #A6A8FE
analogous
#FED0A6 #FEFCA6 #D4FEA6
triadic
#FEFCA6 #A6FEFC #FCA6FE
tetradic
#FEFCA6 #A6FED0 #A6A8FE #FEA6D4
square
#FEFCA6 #A6FED0 #A6A8FE #FEA6D4
split-complementary
#FEFCA6 #A6D4FE #D0A6FE
monochromatic
#FDF82D #FDFA69 #FEFCA6 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.69
#FEFCA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCA6
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCA6#FFFFFF#000000##000000
##FEFCA61.001.0719.6919.69
#FFFFFF1.071.0021.0021.00
#00000019.6921.001.001.00
##00000019.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5A0
Deuteranopia (green-blind)
#FFF9AA
Tritanopia (blue-blind)
#FFF2E6
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fefca6;
/* rgb */ color: rgb(254, 252, 166);
/* oklch */ color: oklch(97.4% 0.107 107.1);
Tailwind
colors: {
  custom: {
    50: '#fffdc1',
    500: '#fefca6',
    950: '#000000',
  },
}
SCSS
$custom: #fefca6;
$custom-light: #fffdc1;
$custom-dark: #000000;
JSON
{
  "hex": "#fefca6",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 166
  },
  "hsl": {
    "h": 58.636,
    "s": 97.778,
    "l": 82.353
  },
  "oklch": {
    "l": 0.97354,
    "c": 0.10692,
    "h": 107.1
  },
  "luminance": 0.93445
}

Semantic roles & 50–950 ramp

primary
#FEFCA6
secondary
#6669E2
accent
#05E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FEFCA6

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

Preview Lab → · Contrast checker → · Palette generator →

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