#FEFCA3#FEFCA3

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

Color values

HEX#FEFCA3
RGBrgb(254, 252, 163)
HSLhsl(59, 98%, 82%)
HSVhsv(59, 36%, 100%)
CMYKcmyk(0%, 0.8%, 35.8%, 0.4%)
CIE-LABlab(97.36, -12.08, 42.90)
CIE-LCHlch(97.36, 44.57, 105.73°)
OKLaboklab(97.3% -0.0326 0.1054)
OKLCHoklch(97.3% 0.11 107.2)
XYZxyz(82.2953, 93.3376, 48.3240)
Luminance0.9334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCA3 #A3A5FE
analogous
#FECFA3 #FEFCA3 #D3FEA3
triadic
#FEFCA3 #A3FEFC #FCA3FE
tetradic
#FEFCA3 #A3FECF #A3A5FE #FEA3D3
square
#FEFCA3 #A3FECF #A3A5FE #FEA3D3
split-complementary
#FEFCA3 #A3D3FE #CFA3FE
monochromatic
#FDF82A #FDFA66 #FEFCA3 #FFFEE0 #FFFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEFCA3#FFFFFF#000000##000000
##FEFCA31.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)
#FFF59C
Deuteranopia (green-blind)
#FFF9A7
Tritanopia (blue-blind)
#FFF1E6
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefca3;
/* rgb */ color: rgb(254, 252, 163);
/* oklch */ color: oklch(97.3% 0.110 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffdbf',
    500: '#fefca3',
    950: '#000000',
  },
}
SCSS
$custom: #fefca3;
$custom-light: #fffdbf;
$custom-dark: #000000;
JSON
{
  "hex": "#fefca3",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 163
  },
  "hsl": {
    "h": 58.681,
    "s": 97.849,
    "l": 81.765
  },
  "oklch": {
    "l": 0.97304,
    "c": 0.11027,
    "h": 107.2
  },
  "luminance": 0.93336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEFCA3

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

Preview Lab → · Contrast checker → · Palette generator →

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