#FEFCA2#FEFCA2

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

Color values

HEX#FEFCA2
RGBrgb(254, 252, 162)
HSLhsl(59, 98%, 82%)
HSVhsv(59, 36%, 100%)
CMYKcmyk(0%, 0.8%, 36.2%, 0.4%)
CIE-LABlab(97.35, -12.19, 43.37)
CIE-LCHlch(97.35, 45.05, 105.70°)
OKLaboklab(97.29% -0.0329 0.1064)
OKLCHoklch(97.29% 0.111 107.2)
XYZxyz(82.2060, 93.3019, 47.8540)
Luminance0.9330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCA2 #A2A4FE
analogous
#FECEA2 #FEFCA2 #D2FEA2
triadic
#FEFCA2 #A2FEFC #FCA2FE
tetradic
#FEFCA2 #A2FECE #A2A4FE #FEA2D2
square
#FEFCA2 #A2FECE #A2A4FE #FEA2D2
split-complementary
#FEFCA2 #A2D2FE #CEA2FE
monochromatic
#FDF829 #FDFA65 #FEFCA2 #FFFEDF #FFFEE1

Accessibility & contrast

On white

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

On black

19.66
#FEFCA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCA2
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCA2#FFFFFF#000000##000000
##FEFCA21.001.0719.6619.66
#FFFFFF1.071.0021.0021.00
#00000019.6621.001.001.00
##00000019.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefca2;
/* rgb */ color: rgb(254, 252, 162);
/* oklch */ color: oklch(97.3% 0.111 107.2);
Tailwind
colors: {
  custom: {
    50: '#fffdbe',
    500: '#fefca2',
    950: '#000000',
  },
}
SCSS
$custom: #fefca2;
$custom-light: #fffdbe;
$custom-dark: #000000;
JSON
{
  "hex": "#fefca2",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 162
  },
  "hsl": {
    "h": 58.696,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.97288,
    "c": 0.11138,
    "h": 107.2
  },
  "luminance": 0.933
}

Semantic roles & 50–950 ramp

primary
#FEFCA2
secondary
#6265E2
accent
#05E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEFCA2

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

Preview Lab → · Contrast checker → · Palette generator →

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