#FEFCA4#FEFCA4

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

Color values

HEX#FEFCA4
RGBrgb(254, 252, 164)
HSLhsl(59, 98%, 82%)
HSVhsv(59, 35%, 100%)
CMYKcmyk(0%, 0.8%, 35.4%, 0.4%)
CIE-LABlab(97.38, -11.97, 42.43)
CIE-LCHlch(97.38, 44.08, 105.76°)
OKLaboklab(97.32% -0.0322 0.1043)
OKLCHoklch(97.32% 0.109 107.1)
XYZxyz(82.3852, 93.3736, 48.7977)
Luminance0.9337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCA4 #A4A6FE
analogous
#FECFA4 #FEFCA4 #D3FEA4
triadic
#FEFCA4 #A4FEFC #FCA4FE
tetradic
#FEFCA4 #A4FECF #A4A6FE #FEA4D3
square
#FEFCA4 #A4FECF #A4A6FE #FEA4D3
split-complementary
#FEFCA4 #A4D3FE #CFA4FE
monochromatic
#FDF82B #FDFA67 #FEFCA4 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.67
#FEFCA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCA4
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCA4#FFFFFF#000000##000000
##FEFCA41.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF59E
Deuteranopia (green-blind)
#FFF9A8
Tritanopia (blue-blind)
#FFF1E6
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefca4;
/* rgb */ color: rgb(254, 252, 164);
/* oklch */ color: oklch(97.3% 0.109 107.1);
Tailwind
colors: {
  custom: {
    50: '#fffdc0',
    500: '#fefca4',
    950: '#000000',
  },
}
SCSS
$custom: #fefca4;
$custom-light: #fffdc0;
$custom-dark: #000000;
JSON
{
  "hex": "#fefca4",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 164
  },
  "hsl": {
    "h": 58.667,
    "s": 97.826,
    "l": 81.961
  },
  "oklch": {
    "l": 0.97321,
    "c": 0.10915,
    "h": 107.1
  },
  "luminance": 0.93372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEFCA4

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

Preview Lab → · Contrast checker → · Palette generator →

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