#FEFCA8#FEFCA8

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

Color values

HEX#FEFCA8
RGBrgb(254, 252, 168)
HSLhsl(59, 98%, 83%)
HSVhsv(59, 34%, 100%)
CMYKcmyk(0%, 0.8%, 33.9%, 0.4%)
CIE-LABlab(97.44, -11.52, 40.54)
CIE-LCHlch(97.44, 42.14, 105.87°)
OKLaboklab(97.39% -0.0306 0.1001)
OKLCHoklch(97.39% 0.105 107)
XYZxyz(82.7522, 93.5204, 50.7302)
Luminance0.9352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFCA8 #A8AAFE
analogous
#FED1A8 #FEFCA8 #D5FEA8
triadic
#FEFCA8 #A8FEFC #FCA8FE
tetradic
#FEFCA8 #A8FED1 #A8AAFE #FEA8D5
square
#FEFCA8 #A8FED1 #A8AAFE #FEA8D5
split-complementary
#FEFCA8 #A8D5FE #D1A8FE
monochromatic
#FDF82F #FDFA6B #FEFCA8 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEFCA8#FFFFFF#000000##000000
##FEFCA81.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)
#FFF6A2
Deuteranopia (green-blind)
#FFF9AB
Tritanopia (blue-blind)
#FFF2E7
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fefca8;
/* rgb */ color: rgb(254, 252, 168);
/* oklch */ color: oklch(97.4% 0.105 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffdc2',
    500: '#fefca8',
    950: '#000000',
  },
}
SCSS
$custom: #fefca8;
$custom-light: #fffdc2;
$custom-dark: #000000;
JSON
{
  "hex": "#fefca8",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 168
  },
  "hsl": {
    "h": 58.605,
    "s": 97.727,
    "l": 82.745
  },
  "oklch": {
    "l": 0.97387,
    "c": 0.10467,
    "h": 107
  },
  "luminance": 0.93519
}

Semantic roles & 50–950 ramp

primary
#FEFCA8
secondary
#686AE3
accent
#05E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FEFCA8

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

Preview Lab → · Contrast checker → · Palette generator →

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