#FEFCA7#FEFCA7

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

Color values

HEX#FEFCA7
RGBrgb(254, 252, 167)
HSLhsl(59, 98%, 83%)
HSVhsv(59, 34%, 100%)
CMYKcmyk(0%, 0.8%, 34.3%, 0.4%)
CIE-LABlab(97.42, -11.63, 41.01)
CIE-LCHlch(97.42, 42.63, 105.84°)
OKLaboklab(97.37% -0.031 0.1011)
OKLCHoklch(97.37% 0.106 107.1)
XYZxyz(82.6594, 93.4833, 50.2414)
Luminance0.9348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCA7 #A7A9FE
analogous
#FED1A7 #FEFCA7 #D4FEA7
triadic
#FEFCA7 #A7FEFC #FCA7FE
tetradic
#FEFCA7 #A7FED1 #A7A9FE #FEA7D4
square
#FEFCA7 #A7FED1 #A7A9FE #FEA7D4
split-complementary
#FEFCA7 #A7D4FE #D1A7FE
monochromatic
#FDF82E #FDFA6A #FEFCA7 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

19.70
#FEFCA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFCA7
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFCA7#FFFFFF#000000##000000
##FEFCA71.001.0719.7019.70
#FFFFFF1.071.0021.0021.00
#00000019.7021.001.001.00
##00000019.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefca7;
/* rgb */ color: rgb(254, 252, 167);
/* oklch */ color: oklch(97.4% 0.106 107.1);
Tailwind
colors: {
  custom: {
    50: '#fffdc2',
    500: '#fefca7',
    950: '#000000',
  },
}
SCSS
$custom: #fefca7;
$custom-light: #fffdc2;
$custom-dark: #000000;
JSON
{
  "hex": "#fefca7",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 167
  },
  "hsl": {
    "h": 58.621,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.9737,
    "c": 0.10579,
    "h": 107.1
  },
  "luminance": 0.93482
}

Semantic roles & 50–950 ramp

primary
#FEFCA7
secondary
#676AE2
accent
#05E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FEFCA7

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

Preview Lab → · Contrast checker → · Palette generator →

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